bestlong 怕失憶論壇

標題: Apache 加入 SSL 支援 [打印本頁]

作者: bestlong    時間: 2007-1-23 18:06     標題: Apache 加入 SSL 支援

  1. [root@www ~]# cd /etc/httpd/
  2. [root@www httpd]# openssl req -new -x509 -nodes -days 3650 -out server.crt -keyout server.key
  3. [root@www httpd]# openssl req -new -key server.key -out server.csr
  4. [root@www httpd]# openssl req -new -key server.key -x509 -days 3650 -out server.crt
複製代碼
修改 httpd.conf
  1. SSLCertificateFile server.crt
  2. SSLCertificateKeyFile server.key
複製代碼
參考資料 http://windtear.net/archives/2006/12/25/001174.html




歡迎光臨 bestlong 怕失憶論壇 (http://www.bestlong.idv.tw/) Powered by Discuz! X1.5