howto add ssl certificate

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

Post Reply
peterjenp
Posts: 2
Joined: Fri Jul 05, 2019 11:20 am

howto add ssl certificate

Post by peterjenp » Fri Jul 05, 2019 11:58 am

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

Syzop
UnrealIRCd head coder
Posts: 1868
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: howto add ssl certificate

Post by Syzop » Fri Jul 05, 2019 3:06 pm

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.

peterjenp
Posts: 2
Joined: Fri Jul 05, 2019 11:20 am

Re: howto add ssl certificate

Post by peterjenp » Fri Jul 05, 2019 5:35 pm

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.

Post Reply