By tort ( 19 11 月, 2014 at 下午 5:07) · Filed under Web Host Manager 教程
登陆WHM » Service Configuration » Apache Configuration » Include Editor » Pre Main Include
Code:
SSLProtocol All -SSLv2 -SSLv3
SSLCipherSuite EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+
SSLHonorCipherOrder on
This will work with Apache and also LiteSpeed, if you have this installed on your server.
测试http://foundeo.com/products/iis-weak-ssl-ciphers/test.cfm
或
Home » Service Configuration » Apache Configuration » Include Editor » Pre Main Include (pre_main_global.conf)
Enter:
SSLProtocol ALL -SSLv2 -SSLv3
Save and restart Apache to complete.
Permalink
By tort ( 19 11 月, 2014 at 下午 5:00) · Filed under Linux分享
SSLv3 再次爆出漏洞,在 Google 的新草案 TLS_FALLBACK_SCSV 还未明朗的情况下,目前禁用 SSLv3 是一个 不考虑 IE6 的 workaround。
1 2 3 4 5 | ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_ciphers ECDHE–RSA–AES256–SHA384:AES256–SHA256:RC4:HIGH:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!AESGCM; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; |
sslv3测试http://foundeo.com/products/iis-weak-ssl-ciphers/test.cfm
Permalink
By tort ( 11 11 月, 2014 at 上午 10:24) · Filed under Linux分享
在linux shell中不显示路径了,显示为-bash-4.1#用起来很不方便。
如何改为显示路径的shell呢?
步骤如下:
vim ~/.bash_profile
(不用管.bash_profile这个文件有几个,自己新建一个也是可以的)
在最后加上
export PS1='[\u@\h \W]\$’
然后执行
source ~/.bash_profile
这样shell就可以显示路径了。
Permalink