先測試apache正常啟動
/apache24/conf/httpd.conf 解開注釋
loadmodule ssl_module modules/mod_ssl.so
include conf/extra/httpd-ssl.conf
# 如果多個證書複製整個標籤修改即可
# 此處指定埠
documentroot "/root/home/project/" # web初始路徑 一般指向index.html
servername servername.com # 修改為申請證書時繫結的網域名稱
sslengine on # 證書開啟
sslcertificatefile /root/sslpath/***x.crt # 主證書路徑
sslcertificatekeyfile /root/sslpath/***x.key # 金鑰檔案路徑
sslcertificatechainfile /root/sslpath/***x.crt # 中間證書路徑
配置ssl證書 Apache配置SSL證書指引
1 使用yum安裝apache yum install httpd y2 修改測試頁面 vim var www html index.hemlps 修改為測試內容,我這裡修改的是 this is a test page.3 啟動服務 service httpd start4 訪問測試 1 安裝ssl...
apache 配置ssl服務 證書
lz今天配置了一整天,看著官方教程來各種錯誤。連apache都啟動不了 1 各種埠占用 2 無名錯誤。其實按著官方文件來就差不多了,要懂得看錯誤,這裡附上官方文件 接下來開始配置 1.啟動apache命令 systemctl start httpd.service 注意不是 service http...
Apache中介軟體安全配置
這是我參考別人的過程,又自己親身實踐做的,中間出現了一些問題,不過幸好 已經解決啦,所以把這個寫下來,方便大家來學習。在訪問站點時,隨便訪問乙個不存在的頁面,如果站點沒做404重定向的話,就會洩露一些敏感資訊。訪問是我的centos的ip 洩露了伺服器作業系統 centos 中介軟體 apache ...