2.0/Modules/m ssl openssl

From AnopeWiki
Jump to: navigation, search
Language

English

Section Extra_Modules
Module m_ssl_opemssl
Author Anope


Description

This module provides SSL services to Anope using OpenSSL, for example to connect to the uplink server(s) via SSL.

NOTE: You may only load either m_ssl_openssl or m_ssl_gnutls, not both.

name= 
Module name
cert= 
Secure certificate file.
key= 
Secure certificate (private) key file.

Default Configuration

/*
 * 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
{
        name = "m_ssl_openssl"
 
        /*
         * An optional certificate and key for m_openssl 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"
}