mIRC Home    About    Download    Register    News    Help

Print Thread
#238211 07/07/12 06:57 PM
Joined: Jul 2012
Posts: 1
S
Mostly harmless
OP Offline
Mostly harmless
S
Joined: Jul 2012
Posts: 1
I'm getting a "host disconnected" error on irc.chatspike.net when connecting using SSL. Other users are also having the problem there.

None of us have been able to figure out what causes it.

Edit :: To be clear, I'm not even getting a prompt to accept an invalid certificate, nor does it work when I have it set to auto accept them.

Joined: Dec 2002
Posts: 5,408
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,408
Which version of mIRC are you using? Are you able to connect to this server using SSL with mIRC v6.35 or any other IRC client?

Joined: Feb 2011
Posts: 445
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 445
Code:
//echo -a OS -  $os 
//echo -a Version - $version 
//echo -a MD5 -  $md5($mircexe,2) 
//echo -a Sig - $file($mircexe).sig 
//echo -a alias - $alias(0) 
//echo -a script  - $script(0) 
//echo -a dll - $dll(0) 
//echo -a com - $com(0)
//echo -a sslready - $sslready 
//echo -a md5 - ssleay32.dll $md5(C:\WINDOWS\system32\ssleay32.dll,2) 
//echo -a md5 - libssl32.dll $md5(C:\WINDOWS\system32\libssl32.dll,2) 
//echo -a md5 - libeay32.dll $md5(C:\WINDOWS\system32\libeay32.dll,2) 
//echo -a md5 - msvcr70.dll $md5(C:\WINDOWS\system32\msvcr70.dll,2) 



Quote:

OS - XP
Version - 7.25
MD5 - cfd7965dd048060f4dfbd49cf5a8a16b
Sig - ok
alias - 1
script - 30
dll - 0
com - 0
sslready - $true
md5 - ssleay32.dll 4511c2b465f05f433470839de85214ca
md5 - libssl32.dll 4511c2b465f05f433470839de85214ca
md5 - libeay32.dll b103e5b2882821d7e4c98c052888395f
md5 - msvcr70.dll 9972a6ed4f2388dbfa8e0a96f6f3fdf1


I also tried 6.35. Same error as 7.25 "Host Disconnected" for that network. -- Interesting enough, Pidgin seems to connect just fine on an SSL port to that network. I am able to connect to other networks with SSL in both 7.25 and 6.35.

(md5 of other files are the files included with the ssl installer from mirc.com/ssl.html)

Joined: Dec 2002
Posts: 5,408
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,408
The network's website has a section that describes how to connect to their network with mIRC v6.35, so it looks like it did work at some point. This seems to indicate that they changed something about the way their servers handle SSL connections which is now resulting in this issue.

Joined: Dec 2002
Posts: 5,408
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,408
Thanks, I was able to reproduce this issue. The certificate is using a date format that mIRC does not support (YYYYMMDDhhmmssZ instead of YYMMDDhhmmssZ) which causes mIRC to think the certificate is invalid and to close the connection. This is the first time anyone has reported this issue, so the longer date format seems to be rarely used.

It is likely that the server administrators created a new SSL certificate at some point with the new date format and this resulted in all versions of mIRC no longer being able to connect to their SSL servers.

I have changed the way the next version of mIRC parses dates in certificates so as to handle a number of different date formats. This will be in the next release.


Link Copied to Clipboard