全部博文(89)
分类: LINUX
2011-10-11 19:46:36
Most web servers that run SSL (https) run on SSL version 3 or TLS version 1. There are still some outdated servers running SSL version 2.
To check if your web server is running SSL v2.0, run this on your Unix/Linux console:
openssl s_client -connect localhost:443 -ssl2
If it shows an error like SSL2_WRITE:ssl handshake failure:s2_pkt.c, it means SSL v2.0 has been disabled.
EXAMPLE: Lets test if slashdot.org is running SSL v2.0 or v3.0.
Check for SSL version 2Edit Apache’s ssl.conf and include these lines at minimum:
SSLProtocol -all +SSLv3 SSLCipherSuite SSLv3:+HIGH:+MEDIUMRestart Apache and you’re good to go.