Skip to content
Snippets Groups Projects
Commit cd634b1a authored by godog's avatar godog
Browse files

Merge branch 'irc-tls' into 'master'

irc: fix tls configuration

See merge request !263
parents 192a7dbe 48f68ec8
No related branches found
No related tags found
1 merge request!263irc: fix tls configuration
......@@ -31,11 +31,6 @@
- motd.txt
- rules.txt
- name: Generate dhparams
command: openssh dhparams -out /etc/inspircd/dhparams 2048
args:
creates: /etc/inspircd/dhparams
# Install anope configuration.
- file:
......
......@@ -18,13 +18,13 @@
email="irc@{{ domain_public[0] }}">
# note: for the TLS configuration check out modules.conf
<bind address="" port="16697" type="clients" ssl="gnutls">
<bind address="" port="19999" type="clients" ssl="gnutls">
<bind address="" port="16697" type="clients" profile="gnutls">
<bind address="" port="19999" type="clients" profile="gnutls">
# note: if you change the server port remember to also update links.conf
# services
<bind address="127.0.0.1" port="7000" type="servers">
# linked irc servers
<bind address="" port="17029" type="servers" ssl="gnutls">
<bind address="" port="17029" type="servers" profile="gnutls">
<sasl target="services.irc.{{ irc_network_name }}" requiressl="yes">
......
......@@ -60,11 +60,12 @@
# TLS configuration
<module name="m_ssl_gnutls.so">
<sslprofile certfile="/etc/credentials/public/irc.autistici.org/fullchain.pem"
<sslprofile
name="gnutls"
certfile="/etc/credentials/public/irc.autistici.org/fullchain.pem"
keyfile="/etc/credentials/public/irc.autistici.org/privkey.pem"
hash="sha1" priority="NORMAL:-MD5"
dhfile="/etc/inspircd/dhparams"
dhbits="1024">
priority="SECURE256:+SECURE128:-VERS-TLS-ALL:+VERS-TLS1.2:+VERS-TLS1.3:-RSA:-DHE-DSS"
>
<module name="m_sslinfo.so">
<module name="m_svshold.so">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment