]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - tools/genssl.sh
Fix small bug in the VERSION/RPL_MYINFO stuff, as pointed out by init.
[irc/rqf/shadowircd.git] / tools / genssl.sh
index 5e435487db507dcbe5a86e3f00ff8823a0e4009e..de7f165137f88bcc9a60d25168868e9bf83368f5 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 echo "Generating self-signed certificate .. "
-openssl req -x509 -nodes -newkey rsa:1024 -keyout ../etc/test.key -out ../etc/test.cert
+openssl req -x509 -nodes -newkey rsa:1024 -keyout ../etc/ssl.key -out ../etc/ssl.cert
 
 echo "Generating Diffie-Hellman file for secure SSL/TLS negotiation .. "
 openssl dhparam -out ../etc/dh.pem 1024
@@ -8,8 +8,8 @@ openssl dhparam -out ../etc/dh.pem 1024
 echo " 
 Now change these lines in the IRCd config file:
 
-    ssl_private_key = "etc/test.key";
-    ssl_cert = "etc/test.cert";
+    ssl_private_key = "etc/ssl.key";
+    ssl_cert = "etc/ssl.cert";
     ssl_dh_params = "etc/dh.pem";
 
 Enjoy using ssl.