Page 1 of 1

howto add ssl certificate

Posted: Fri Jul 05, 2019 11:58 am
by peterjenp
Goodday everyone
I have installed unrealircd on my server as a chat server.
at this moment i also try to get ssl available so that one can connect securely
I myself have a ssl wilcard only I do not get you found how and what I have to add presies to men unreal config file.
I have the following lecension files:
wildcard_jenp_net.CA-BUNDLE
wildcard_jenp_net.crt
wildcard_jenp_net.pem
www.jenp.net.csr
www_jenp_net.key
the last 2 files were used for the request of men ssl certificate.
can someone tell me what i need to add / adjust for if i want port 6697 to be connected securely by users

Re: howto add ssl certificate

Posted: Fri Jul 05, 2019 3:06 pm
by Syzop
You can copy some of these files and overwrite your existing pregenerated certs:
* Put your wildcard_jenp_net.crt as ~/unrealircd/conf/ssl/server.cert.pem
* Put your www_jenp_net.key as ~/unrealircd/conf/ssl/server.key.pem
Then do a "/REHASH -ssl" on IRC and test it.

Sometimes part of the certificate chain needs to be added as well, this depends on the certificate authority, but the above is a good start.

Re: howto add ssl certificate

Posted: Fri Jul 05, 2019 5:35 pm
by peterjenp
pfff and I spent a week on this and google.
and the solution was simply giving it another name in 2 files.
thank you very much for the short but very effective answer.