Archive for 11 月, 2014

whm/cpanel禁用sslv3

登陆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.

评论

SSLv3 再次爆出漏洞

SSLv3 再次爆出漏洞,在 Google 的新草案 TLS_FALLBACK_SCSV 还未明朗的情况下,目前禁用 SSLv3 是一个 不考虑 IE6 的 workaround。

1
2
3
4
5
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers ECDHERSAAES256SHA384:AES256SHA256: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

评论

linux下shell显示-bash-4.1#不显示路径解决方法

在linux shell中不显示路径了,显示为-bash-4.1#用起来很不方便。

如何改为显示路径的shell呢?

步骤如下:

vim ~/.bash_profile

(不用管.bash_profile这个文件有几个,自己新建一个也是可以的)

在最后加上
export PS1='[\u@\h \W]\$’

然后执行
source ~/.bash_profile

这样shell就可以显示路径了。

评论