Press enter to see results or esc to cancel.

[Postfix] SSLv3 ve SSLv2 deaktif etmek

Merhaba;

main.cf dosyasini bir text editoruyle acip asagidaki satirlari ekliyoruz.

vim /etc/postfix/main.cf

smtpd_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_mandatory_protocols = !SSLv2 !SSLv3
smtp_tls_protocols = !SSLv2, !SSLv3
smtpd_tls_protocols = !SSLv2 !SSLv3

Postfix yeniden baslatilir

/etc/init.d/postfix restart

ve son olarak test edilir.

root@cloud:/var/log# openssl s_client -starttls smtp -crlf -ssl3 -connect mail.murat.ws:25
CONNECTED(00000003)
30209:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:s3_pkt.c:545: