X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=doc%2FSSL.txt;h=6ea207e6ccf9bdf6f59bd752ef0c321345b02cda;hp=7578ad80704b5ccbe256a7ead42eead4bcbbd653;hb=ebf5edfd8788037c39818461d09874a851b845fc;hpb=bdd44eb0ab7e6ee080989c672ce6deeffae987c2;ds=sidebyside
diff --git a/doc/SSL.txt b/doc/SSL.txt
index 7578ad80..6ea207e6 100644
--- a/doc/SSL.txt
+++ b/doc/SSL.txt
@@ -10,9 +10,31 @@
-- SSL.txt --
-ngIRCd actually doesn't support secure connections for client-server or
-server-server links using SSL, the Secure Socket Layer, by itself. But you can
-use the stunnel(8) command to make this work.
+ngIRCd supports SSL/TLSv1 encrypted connections using the
+OpenSSL or gnutls library.
+Both encryped server <-> client and server <-> server links should work.
+
+BEWARE! The Code is mostly untested, use at your own risk!
+
+Example that creates a self-signed certificate and key (using OpenSSL):
+openssl req -newkey rsa:2048 -x509 -keyout server-key.pem \
+ -out server-cert.pem -days 1461
+
+Example that creates DH parameters (optional):
+openssl dhparam -2 -out dhparams.pem 2048
+
+Example that creates a self-signed certificate
+and key (using gnutls):
+
+certtool --generate-privkey --bits 2048 --outfile server-key.pem
+certtool --generate-self-signed --load-privkey server-key.pem \
+ --outfile server-cert.pem
+
+Example that creates DH parameters (optional):
+certtool --generate-dh-params --bits 2048 --outfile dhparams.pem
+
+Alternatively, you may use external programs/tools like stunnel to
+make it work:
@@ -51,7 +73,6 @@ short "how-to", thanks Stefan!
=== snip ===
-Probably ngIRCd will include support for SSL in the future ...
--