構(gòu)建安全的e-commerce服務(wù)器(3)_Windows教程
SSL:
在httpd.conf中打開(kāi)SSL
Port 80
Listen 80
Listen 443
SSLSessionCache dbm:/usr/local/apache/ logs/ssl_scache
SSLSessionCacheTimeout 1200
# For increased performance use "SSLMutex sem" instead of the line below
SSLMutex file:/usr/local/apache/logs/ssl_mutex
SSLLog /usr/local/apache/logs/ssl_engine_log
# change the log level default from "info" to "warn"
SSLLogLevel warn
SSLOptions +OptRenegotiate
打開(kāi)虛擬主機(jī)的SSL支持:
# Within the
SSLEngine on
# Replace
SSLCertificateFile /usr/local/apache/conf/ssl.
cert/
# Replace
SSLKeyFile /usr/local/apache/conf/ssl.key/
SSLVerifyClient none
定制SSL的LOG格式:
LogFormat clfa "%h %l %u %t \"%r\" %>s %b\ %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%{SSL_CLIENT_S_DN_CN}x\""
CustomLog /usr/local/apache/logs/access_log clfa
被保護(hù)的目錄:
SSLCipherSuite HIGH: MEDIUM
AuthType Digest
AuthName "Beta code testing"
AuthDigestDomain /test/ http://test.my.dom/beta/
AuthDigestFile /usr/local/apache/conf/
digest_pw
Require valid-user
Windows教程Rss訂閱服務(wù)器教程搜索
Windows教程推薦
猜你也喜歡看這些
- IIS VS Nginx 如何合理對(duì)比以及看待IIS和Nginx的性能
- Linux系統(tǒng)中memcache和memcached安裝方法
- 通過(guò)偽靜態(tài)規(guī)則實(shí)現(xiàn)子目錄綁定
- IIS6.0服務(wù)器架站無(wú)法訪問(wèn)解決方案總結(jié)
- 64位Web服務(wù)器安裝配置注意事項(xiàng)
- 讓IIS7支持PHP(5.2.17及5.3.5)
- Nginx防盜鏈的3種方法
- IIS7權(quán)限簡(jiǎn)述
- 識(shí)別常見(jiàn)Web應(yīng)用安全漏洞 有效防止入侵
- Windows2003校園Web服務(wù)器常見(jiàn)問(wèn)題
- 相關(guān)鏈接:
- 教程說(shuō)明:
Windows教程-構(gòu)建安全的e-commerce服務(wù)器(3)
。