微信小程序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