2.0/Modules/m ssl gnutls

From AnopeWiki
Revision as of 22:49, 12 May 2014 by Azander (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language

English

Section Extra_Modules
Module m_ssl_gnutls
Author Anope


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"
}