修改apache設定檔
vi /usr/local/etc/apache22/extra/httpd-ssl.conf
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite ALL:!aNULL:!ADH:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM

測試
openssl s_client -ssl2 -connect 127.0.0.1:443
CONNECTED(00000003)
19783:error:1407F0E5:SSL routines:SSL2_WRITE:ssl handshake failure:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s2_pkt.c:428:

openssl s_client -tls1 -connect 127.0.0.1:443

openssl s_client -ssl3 -connect 127.0.0.1:443

helloworld 發表在 痞客邦 PIXNET 留言(0) 人氣()