added small ssl documentation (thanks to lukas :D)
[ircu2.10.12-pk.git] / doc / example.conf
index 235bd31b8e19ab9022c58b737329e13e5f9edc59..0e4c6c289eab47b4af46c200b6e1b0ab6f90030e 100644 (file)
@@ -532,6 +532,19 @@ Kill
  reason = "You are infected with a Trojan";
 };
 
+# [SSL]
+#
+#SSL {
+# # There need to be the private key AND the public key INSIDE the certificate file
+# cert = "";
+# # Optional CA certificate for non-self-signed certificates
+# cacert = "";
+#};
+
+SSL {
+ cert = "ircd.pem";
+};
+
 # [Connect]
 #
 # You probably want your server connected to other servers, so your users
@@ -708,6 +721,8 @@ Operator {
 #  server = yes;
 #  # Setting to yes makes the port "hidden" from stats.
 #  hidden = yes;
+#  # Setting to yes makes the port to handle incoming connection as SSL connections
+#  secure = no;
 # };
 #
 # The port and vhost lines allow you to specify one or both of "ipv4"
@@ -749,6 +764,12 @@ Port {
  port = 6666;
 };
 
+#SSL Port
+Port {
+ port = 6697;
+ secure = yes;
+};
+
 # This is a hidden client port, listening on 168.8.21.107.
 Port {
  vhost = "168.8.21.107";