创建 ssl.crt server.key
openssl genrsa -out /etc/ssl.key/server.key 1024
openssl req -new -x509 -key /etc/ssl.key/server.key -out /etc/ssl.crt/server.crt
编辑/etc/ssl.conf
启动web服务器
apachectl startssl