summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-05-09 03:37:37 -0400
committerAdam <Adam@anope.org>2012-05-09 03:37:37 -0400
commitd5ffae0e46a822ea358a8a87ea6910c5f2532bf7 (patch)
tree59ef9e67cdb593b7b1d4f541faa1d28af9271e40 /data
parentf89599726e79f58de3e7c8a7ea18474dea9ebd12 (diff)
Made ssl cert and keyfiles configurable
Diffstat (limited to 'data')
-rw-r--r--data/modules.example.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf
index 101437d04..3a3931e1b 100644
--- a/data/modules.example.conf
+++ b/data/modules.example.conf
@@ -359,6 +359,19 @@ rewrite
* This module uses SSL to connect to the uplink server(s)
*/
module { name = "m_ssl" }
+ssl
+{
+ /*
+ * An optional certificate and key for m_ssl to give to the uplink.
+ *
+ * You can generate your own certificate and key pair by using:
+ *
+ * openssl genrsa -out anope.key 2048
+ * openssl req -new -x509 -key anope.key -out anope.crt -days 1095
+ */
+ cert = "data/anope.crt"
+ key = "data/anope.key"
+}
/*
* m_statusupdate