以下資訊僅供個人留存參考
憑證部份
1. 安裝OpenSSL
2. 產生key
3. 用key 產生req
4. 用key跟req產生crt, crt是憑證檔
5. 之後保留key跟crt
Apache部份(使用Apache 2.2)
1. 修改~/apache22/httpd.conf
1-A. 找尋"SSL"字串, 確認有載入mod_ssl
1-B. 把"Include ~/apache22/extra/httpd-ssl.conf"前的註解拿掉
1-C. 存檔
2. 修改~/apache22/extra/httpd-ssl.conf
2-A. 修改key檔的位置
2-B. 修改crt檔的位置
2-C. 在Virtual Host中加入ScriptAlias /cgi-bin/ "/path/to/cgi-bin/"
2-D. 存檔
3. apachectl -t
4. apachectl -k restart
文章標籤
全站熱搜
