1.我安装的是Wampserver 2.2.11, d:\wamp目录
2.本机操作系统Win7 32位
3.D:\wamp\bin\apache\Apache2.2.11\bin 下有 openssl.exe
4.D:\wamp\bin\apache\Apache2.2.11\conf 下有 openssl.cnf
5.D:\wamp\bin\apache\Apache2.2.11\conf\extra 下有 httpd-ssl.conf
6.本机地址 192.168.111.1
7.wamp apache 开启 mod_ssl
8.httpd-ssl.conf内容(去除注释后)
Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
SSLSessionCache "shmcb:D:/wamp/bin/apache/Apache2.2.11/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLMutex default
<VirtualHost _default_:443>
DocumentRoot "D:\wamp\www"
ServerName 192.168.111.1:443
ServerAdmin me@localhost
ErrorLog "D:/wamp/bin/apache/Apache2.2.11/logs/error.log"
TransferLog "D:/wamp/bin/apache/Apache2.2.11/logs/access.log"
SSLEngine on