請問wamp集成環境下 apache/conftpd.conf 配置#Include conf/extratpd-ssl.conf 將#號去掉后 環境無法啟動
我嘗試了在conf/extratpd-ssl.conf中 將
#SSLSessionCache "dbm:c:/Apache24/logs/ssl_scache"與
SSLSessionCache "shmcb:c:/Apache24/logs/ssl_scache(512000)"
分別打開,但是都沒有解決,環境都無法啟動,
在日志中也看不到錯誤資訊,各位大神,這個該怎么解決?
uj5u.com熱心網友回復:
以下步驟詳情參考 https://www.wosign.com/support/ssl-Apache2.htm1、打開apache 安裝目錄下 conf 目錄中的httpd.conf 檔案,找到:
#LoadModule ssl_module modules/mod_ssl.so
(如果找不到請確認是否編譯過 openssl 插件)
#Include conf/extra/httpd_ssl.conf
洗掉行首的配置陳述句注釋符號“#”,保存退出。
2、打開apache 安裝目錄下 conf/extra 目錄中的httpd-ssl.conf 檔案
注釋:
yum 安裝配置目錄:conf.d/ssl.conf
ubuntu/apache2 安裝目錄:conf/sites-enabled/*.conf
在組態檔中查找以下配置陳述句:
a. 添加SSL 協議支持陳述句,關閉不安全的協議和加密套件:
SSLProtocol all -SSLv2 -SSLv3
b.修改加密套件如下:
SSLCipherSuite AESGCM:ALL:!DH:!EXPORT:!RC4:+HIGH:!MEDIUM:!LOW:!aNULL:!eNULL;
c.將服務器證書公鑰配置到該路徑下(在conf 目錄下創建ssl 目錄,將 for Apache 里面的三
個證書檔案拷貝到 ssl 目錄下)
SSLCertificateFile conf/ssl/test.wosign.com.crt (證書公鑰)
d.將服務器證書私鑰配置到該路徑下
SSLCertificateKeyFile conf/ssl/test.wosign.com.key (證書私鑰)
e.將服務器證書鏈配置到該路徑下
#SSLCertificateChainFile conf/ssl/1_root_bundle.crt(證書鏈)洗掉行首的“#”號注釋符
保存退出,并重啟Apache。
3、進入Apache 安裝目錄下的bin 目錄,運行如下命令
./apachectl -k stop
./apachectl -k start
uj5u.com熱心網友回復:
好的,非常感謝
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/108217.html
標籤:網絡協議與配置
上一篇:寫博客的初衷
