If Anope Services are using localhost, than you do NOT need SSL enabled and your services block should look like:
uplink
{
host = "127.0.0.1"
ipv6 = no
ssl = yes
port = 7000
password = "changethispass"
}
And this should go in your unrealircd.conf
listen {
ip 127.0.0.1;
port 7000;
options { tls; serversonly; };
};
link services.yourdomain.com {
incoming {
mask *@127.0.0.1;
};
password "changethispass";
class servers;
};
ulines { services.yourdomain.com; };
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.
/*
* m_ssl_openssl [EXTRA]
*
* This module provides SSL services to Anope using OpenSSL, for example to
* connect to the uplink server(s) via SSL.
*
*/
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"
}
Your anope.crt and anope.key will be generated in the directory you run the commands, make sure they are in data/ directory
To enable m_ssl_openssl modules, follow this steps:
cd anope* (ex: cd anope-2.0.10)
./extras
m_ssl_openssl.cpp and hit enter
q and hit enter
cd build
make && make install
Did this tutorial help? How about buy me a cup of coffee?