]>
jfr.im git - solanum.git/blob - tools/genssl.sh
2 echo "Generating certificate request .. "
3 openssl req
-new -nodes -out ..
/etc
/req.pem
5 echo "Generating self-signed certificate .. "
6 openssl req
-x509 -days 365 -in ..
/etc
/req.pem
-key ..
/etc
/rsa.key
-out ..
/etc
/cert.pem
8 echo "Generating Diffie-Hellman file for secure SSL/TLS negotiation .. "
9 openssl dhparam
-out ..
/etc
/dh.pem
1024
12 Now change these lines in the IRCd config file:
14 ssl_private_key = "etc
/rsa.key
";
15 ssl_cert = "etc
/cert.pem
";
16 ssl_dh_params = "etc
/dh.pem
";