微信小程序HTTPS - cenos apache 下安装SSL证书

1.yum install mod_ssl

2.接下来,我们需要创建一个新目录,我们将存储服务器密钥和证书
mkdir /root/ssl

3.vi /etc/httpd/conf.d/ssl.conf
SSLEngine on
SSLCertificateFile /root/ssl/apache.crt
SSLCertificateKeyFile /root/ssl/apache.key

4.service httpd restart

posted @ 2017-12-25 11:08  WWSASUKE  阅读(416)  评论(0编辑  收藏  举报