Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Setting Up SSL in mIRC [Windows Tutorial]
Hey there, I'm now going to show you how to generate your own ssl certificate, and use it in your client.

1. Install the OpenSSL Pack (This is REQUIRED in order to WORK)Sad32bit):  (64Bit):
2. Download Microsoft C++ 2008 Redistributable Package:
3. Please note that you should select "The Windows system directory" when it asks you where to copy the dll files to, or it may not work.

  • [size=1.35em]Go to Start -> run and type in CMD. This will bring up a prompt. [/size]
  • [size=1.35em] Type in cd C:\OpenSSL\bin and hit enter.  //NOTE: If the folder OpenSSL does not exist, check for OpenSSL-Win32 OR OpenSSL-Win64 (Depending on your setting/ what version you've installed), and just rename it to OpenSSL //
  • [size=1.35em] Type OpenSSL and hit enter. [/size]
  • [size=1.35em] You should now see a prompt that looks like OpenSSL>[/size]
  • [size=1.35em] Type in req -nodes -newkey rsa:2048 -keyout yournick.key -x509 -days 365  -out yournick.cer and hit enter.[/size]
(By the way: You may change the validaty duration of the certificated by increasing the number after "-days" or changing the parameter after rsa: , I tried it with 4096, it has worked., (The ClientCertificateFingerprint you will get, may be used in an o:line, or other things) If you don not know how to do this, just let it how it is now ^^
[size=1.35em]You will be asked some questions:[/size]

NOTE: After you have answered the questions:
  • [size=1.35em]Hit Ctrl+C to exit out of the OpenSSL program. [/size]
  • [size=1.35em] Type type yournick.cer yournick.key > yournick.pem and hit enter. [/size]
[Image: 5gwxkh6u.jpg]

Please try answering all questions, the information needn't to true, but will be displayed on /sslinfo YourNick
Please copy the 3 certs you made in the mIRC folder: Should be: C:\\Users\YourUserName\AppData\Roaming\mIRC\
PLEASE DO NOT FORGET TO COPY: libeay32.dll and ssleay32.dll in this folder mentioned above!

[Image: xmbsk2vo.jpg]

So and now the mIRC settings:

[Image: 8sjnburo.jpg]

Select yournick.pem in the mIRC -> File ->Select Server -> Options -> SSL asthe Private Key File, the same (yournick.pem) in Certificate Chain File. Leave the trusted authorities empty.

[Image: 7immbdjq.jpg]

Please use ONLY the port 6697 for SSL, by /server OR /server -e

if everything will work you will see this notice:

[Image: a5c53zel.jpg]

And /sslinfo YourNick will display your sslinformation, NOTE: you should allow untrusted/invalid sslconnections in order to work with icqnet.

Thanks for reading.

Please comment, or add something i maybe forgot, or complain if something isnt working.


PS: If you need help, or something isnt working, or a link is "dead" - just comment or pm me ^^
Thanks, good one Smile
very informative, thank you Smile

Forum Jump:

Users browsing this thread: 1 Guest(s)