diff --git a/doc/example.conf b/doc/example.conf index 5e1895ff..82a7677d 100755 --- a/doc/example.conf +++ b/doc/example.conf @@ -57,10 +57,10 @@ serverinfo { #vhost6 = "3ffe:80e8:546::2"; /* ssl_private_key: our ssl private key */ - ssl_private_key = "etc/test.key"; + ssl_private_key = "etc/ssl.key"; /* ssl_cert: certificate for our ssl server */ - ssl_cert = "etc/test.cert"; + ssl_cert = "etc/ssl.cert"; /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ ssl_dh_params = "etc/dh.pem"; diff --git a/doc/reference.conf b/doc/reference.conf index c7e72bd2..15a32d53 100755 --- a/doc/reference.conf +++ b/doc/reference.conf @@ -136,10 +136,10 @@ serverinfo { #vhost6 = "3ffe:80e8:546::2"; /* ssl_private_key: our ssl private key */ - ssl_private_key = "etc/test.key"; + ssl_private_key = "etc/ssl.key"; /* ssl_cert: certificate for our ssl server */ - ssl_cert = "etc/test.cert"; + ssl_cert = "etc/ssl.cert"; /* ssl_dh_params: DH parameters, generate with openssl dhparam -out dh.pem 1024 */ ssl_dh_params = "etc/dh.pem"; diff --git a/tools/genssl.sh b/tools/genssl.sh index 5e435487..de7f1651 100755 --- a/tools/genssl.sh +++ b/tools/genssl.sh @@ -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.