diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-02-17 01:12:01 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-02-17 01:12:01 +0100 |
commit | 1c39d25ccaabeab2a8b1f317bf5394f007db14f8 (patch) | |
tree | db13ee62e5ae0da4f1ed0c134d010bf8c41ba589 /data | |
parent | 9c0134ee2c76fe7ff1509501b3904f9db9b29454 (diff) |
Add m_ssl_gnutls
Diffstat (limited to 'data')
-rw-r--r-- | data/modules.example.conf | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/data/modules.example.conf b/data/modules.example.conf index e4eeda802..8fe9ca4db 100644 --- a/data/modules.example.conf +++ b/data/modules.example.conf @@ -469,10 +469,51 @@ module { name = "help" } #module { name = "m_sasl_dh-blowfish" } /* + * m_ssl_gnutls [EXTRA] + * + * This module provides SSL services to Anope using GnuTLS, for example to + * connect to the uplink server(s) via SSL. + * + * You may only load either m_ssl_gnutls or m_ssl_openssl, bot not both. + */ +#module +{ + name = "m_ssl_gnutls" + + /* + * An optional certificate and key for m_gnutls to give to the uplink. + * + * You can generate your own certificate and key pair by using: + * + * certtool --generate-privkey --bits 2048 --outfile anope.key + * certtool --generate-self-signed --load-privkey anope.key --outfile anope.crt + * + */ + cert = "data/anope.crt" + key = "data/anope.key" + + /* + * Diffie-Hellman parameters to use when acting as a server. This is only + * required for TLS servers that want to use ephemeral DH cipher suites. + * + * This is NOT required for Anope to connect to the uplink server(s) via SSL. + * + * You can generate DH parameters by using: + * + * certtool --generate-dh-params --bits 2048 --outfile dhparams.pem + * + */ +# dhparams = "data/dhparams.pem" +} + +/* * m_ssl_openssl [EXTRA] * * This module provides SSL services to Anope using OpenSSL, for example to * connect to the uplink server(s) via SSL. + * + * You may only load either m_ssl_openssl or m_ssl_gnutls, bot not both. + * */ #module { |