bestlong 怕失憶論壇's Archiver

bestlong 發表於 2007-1-23 18:06

Apache 加入 SSL 支援

[code][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
[/code]修改 httpd.conf[code]SSLCertificateFile server.crt
SSLCertificateKeyFile server.key
[/code]參考資料 [url]http://windtear.net/archives/2006/12/25/001174.html[/url]
頁: [1]

Powered by Discuz! X1.5 Archiver   © 2001-2010 Comsenz Inc.