bestlong 怕失憶論壇
標題:
Apache 加入 SSL 支援
[打印本頁]
作者:
bestlong
時間:
2007-1-23 18:06
標題:
Apache 加入 SSL 支援
[root@www ~]# cd /etc/httpd/
[root@www httpd]# openssl req -new -x509 -nodes -days 3650 -out server.crt -keyout server.key
[root@www httpd]# openssl req -new -key server.key -out server.csr
[root@www httpd]# openssl req -new -key server.key -x509 -days 3650 -out server.crt
複製代碼
修改 httpd.conf
SSLCertificateFile server.crt
SSLCertificateKeyFile server.key
複製代碼
參考資料
http://windtear.net/archives/2006/12/25/001174.html
歡迎光臨 bestlong 怕失憶論壇 (http://www.bestlong.idv.tw/)
Powered by Discuz! X1.5