https apache 注意事项及微信小程序
2017-07-12 00:00:00 by 【6yang】,
1575
visits,
收藏 |
返回
https://
http://blog.csdn.net/decajes/article/details/41706739
1. 安装 注意事项
修改两个配置文件,一个为conf/httpd.conf,另一个为conf/extra/httpd-ssl.conf
LoadModule ssl_module modules/mod_ssl.so
Include conf/extra/httpd-ssl.conf
SSLCertificateFile "E:/AppServ/Apache2.2/bin/server.crt" 注意这里路径server.crt server.key
命令:
方法一:
openssl genrsa -out server.key 1024
openssl req -config ../conf/openssl.cnf -new -out server.csr -keyout server.key
使用方法二:
openssl genrsa -out server.key 1024
openssl req -new -x509 -days 365 -key server.key -out server.crt -config ../conf/openssl.cnf (注意路径是斜杆)
share