Ostatnio aktywny 6 months ago

Rewizja 32058085ecdc63899dbfa5c76e6b7470e95e2fa4

10-ssl.conf Surowy
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 Surowy
1#!/bin/sh
2if [ $(netstat -tapn | grep :443 | awk {'print $7'} | sed "s#^[0-9]*/##") = "apache2" ]; then if [ ! -f /etc/apache2/conf.d/x_disable_SSLv3.conf ]; then
3cat <<EOF >> /etc/apache2/conf.d/x_disable_SSLv3.conf
4<IfModule mod_ssl.c>
5SSLProtocol all -SSLv2 -SSLv3
6</IfModule>
7EOF
8/etc/init.d/apache2 restart; fi; fi
9exit 0
10# for checking that service
11testssl.sh --poodle <vHost> | grep POODLE
haproxy.conf Surowy
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 Surowy
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 Surowy
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 Surowy
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