apache配置ssl证书
目的:在阿里云ESC的apache服务器上部署申请的证书实现HTTPS访问 步骤: 1,申请证书(为阿里云自动配发的证书) 2,在apache上部署 2.1,vim /usr/local/apache/conf/httpd.conf 查看模块项是否有并将其前面的#去掉 LoadModule ssl_module modules/mod_ssl.so 改为 LoadModule ssl_module modules/mod_ssl.so 将# Secure (SSL/TLS) connections #Include conf/extra/httpd-ssl.conf 改为 Secure (SSL/TLS) connections Include conf/extra/httpd-ssl.conf 2.2,vim /usr/local/apache/conf/extra/httpd-ssl.conf 增加如下项: SSLHonorCipherOrder on #<VirtualHost default :443> <VirtualHost wxjy.peigubao.com:443> General setup for the virtual host DocumentRoot "/data/www/default" ServerName wxjy.aaa.com