httpd-ssl.conf Listen 443 DocumentRoot "D:/phpStudy/WWW/wx"ServerName www.example.com:443ServerAdmin sdkz_applet@163.comSSLEngine onSSLProtocol all -SSLv2 -SSLv3SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
Listen 443readDocumentRoot "D:/phpStudy/WWW/wx" ServerName www.example.com:443 ServerAdmin sdkz_applet@163.com SSLEngine on SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLHonorCipherOrder on SSLCertificateFile "D:/phpStudy/Apache/conf/ssl/www_example_com.crt" SSLCertificateKeyFile "D:/phpStudy/Apache/conf/ssl/www_example_com.key" SSLCertificateChainFile "D:/phpStudy/Apache/conf/ssl/www_example_com__bundle.crt" Options -Indexes +FollowSymLinks +ExecCGI AllowOverride All Order Allow,Deny Allow From All Require all granted
先去申请ssl证书,申请下来放到服务器上,配置好即可。需要注意的是防火墙,443端口