国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 服務器 > Win服務器 > 正文

構建安全的e-commerce服務器(3)

2024-09-10 00:02:54
字體:
來源:轉載
供稿:網友
面是一些要檢查的安全設置:

 SSL

httpd.conf中打開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

 打開虛擬主機的SSL支持:

# Within the ...

SSLEngine on

# Replace with certificate file name

SSLCertificateFile /usr/local/apache/conf/ssl.

cert/

# Replace with key file name

SSLKeyFile /usr/local/apache/conf/ssl.key/

SSLVerifyClient none

 定制SSLLOG格式:

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

 被保護的目錄:

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

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 顺平县| 平舆县| 嘉荫县| 兴国县| 红河县| 双柏县| 宣化县| 石泉县| 姜堰市| 大方县| 大厂| 运城市| 平武县| 青川县| 曲阜市| 定安县| 斗六市| 安龙县| 曲阳县| 清流县| 榆中县| 永丰县| 监利县| 宕昌县| 焦作市| 江油市| 象州县| 独山县| 临武县| 亚东县| 张掖市| 大港区| 渭南市| 南木林县| 嘉峪关市| 武威市| 晋宁县| 彩票| 玛纳斯县| 本溪市| 和林格尔县|