Difference between revisions of "2.0/Modules/m ssl openssl"

From AnopeWiki
Jump to: navigation, search
(Created page with "{{Language|2.0/Modules/m_ssl_openssl}} {{Header|m_ssl_opemssl|Extra_Modules|Anope}} == <div class="moduleheader">Description</div> == This module provides SSL services to An...")
 
(No difference)

Latest revision as of 22:54, 12 May 2014

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