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