Listen 443 (一定要加)
#加下面两句使apache支持同一IP多网站多SSL证书同时生效
NameVirtualHost *:443
SSLStrictSNIVHostCheck off
#以上两句
ServerAdmin www.xxxxx.com (更换成自己的域名)
ServerName xxxxxxxx.com (更换成自己的域名)
DocumentRoot "/home/xx....xx/Thinkphp/public" (网站根目录)
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite AESGCM:ALL:!DH:!EXPORT:!RC4:+HIGH:!MEDIUM:!LOW:!aNULL:!eNULL
SSLCertificateFile "XXXXX/Apache/conf/ssl/2_xxxxxx.com.crt"
SSLCertificateKeyFile "XXXXX/Apache/conf/ssl/3_xxxxxx.com.key"
SSLCertificateChainFile "XXXXX/Apache/conf/ssl/1_root_bundle.crt"
特别注意:标点符号一定要为英文标符(如:<>, " " ),删除中文