Difference between revisions of "2.0/Modules/m ssl gnutls"
From AnopeWiki
(Created page with "{{Language|2.0/Modules/m_ssl_gnutls}} {{Header|m_ssl_gnutls|Extra_Modules|Anope}} == <div class="moduleheader">Description</div> == Provides SSL services to Anope using GnuT...") |
(No difference)
|
Latest revision as of 22:49, 12 May 2014
Language | |
---|---|
English |
|
Description
Provides SSL services to Anope using GnuTLS.
- name=
- Module name
- cert=
- Secure Certificate (public) file.
- key=
- Secure Certificate (private) key file.
- ghparams=
- 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.
Default Configuration
/* * 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" }