Last active 6 months ago

Revision 22a5384f23bbf1fa20f9351f3e2cdef23fec3057

10-ssl.conf Raw
1# this is a dovecot config snippet, inclide me into /etc/dovecot/local.conf
2# SSL protocols to use
3ssl_protocols = !SSLv2 !SSLv3
4# for checking that service
5openssl s_client -connect <hostname>:143 -starttls imap -ssl3
fix_apache2.sh Raw
1#!/bin/sh
2if [ "$(netstat -tapn | grep :443 | awk {'print $7'} | sed "s#^[0-9]*/##")" == "apache2" ]; then
3 if [ ! -f /etc/apache2/conf.d/x_disable_SSLv3.conf ]; then
4 cat <<EOF >> /etc/apache2/conf.d/x_disable_SSLv3.conf
5<IfModule mod_ssl.c>
6SSLProtocol all -SSLv2 -SSLv3
7</IfModule>
8EOF
9 /etc/init.d/apache2 restart
10 fi
11fi
12exit 0
13# for checking that service
14testssl.sh --poodle <vHost> | grep POODLE
haproxy.conf Raw
1# this is a haproxy config snippet, include me into /etc/haproxy/haproxy.conf
2bind :443 ssl crt <crt> ciphers <ciphers> no-sslv3
3# for checking that service
4testssl.sh --poodle <vHost> | grep POODLE
imapd-ssl Raw
1# this is a courier-imapd config, include me into /etc/courier/imapd-ssl
2# ensure that all SSL* variants are removed
3TLS_PROTOCOL=TLS1
4# for checking that service
5nmap --script ssl-enum-ciphers -p 993 <hostname> | grep SSLv
main.cf Raw
1# this is a postfix config snippet, include me into /etc/postfix/main.cf
2smtp_tls_protocols=!SSLv2,!SSLv3
3smtp_tls_mandatory_protocols=!SSLv2,!SSLv3
4smtpd_tls_protocols=!SSLv2,!SSLv3
5smtpd_tls_mandatory_protocols=!SSLv2,!SSLv3
6# for checking that service
7openssl s_client -connect <hostname>:25 -starttls smtp -ssl3
ssl.conf Raw
1# this is a nginx config snippet, put me into /etc/nginx/conf.d
2ssl_session_cache shared:SSL:10m;
3ssl_session_timeout 10m;
4ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
5# for checking that service
6testssl.sh --poodle <vHost> | grep POODLE