Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/lua/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
具有SSL证书的Wampserver 3_Ssl_Wamp_Wampserver - Fatal编程技术网

具有SSL证书的Wampserver 3

具有SSL证书的Wampserver 3,ssl,wamp,wampserver,Ssl,Wamp,Wampserver,我正在尝试在Wamp上安装SSL证书。我跟在这里,一切都做得很好,没有错误。但当我尝试访问时,什么都没有发生。页面显示错误,表示连接不安全。如果我仍然继续,那么我会在地址上获得https,但标记为红色警报 此外,我尝试只访问localhost,但通常我通过虚拟主机处理多个网页,因此我不访问localhost,而是访问类似mysite.me或https://mysite.me 注意:我使用的是Windows10 编辑:根据评论中的要求,我正在添加我的httpd-ssl.conf文件 Listen

我正在尝试在Wamp上安装SSL证书。我跟在这里,一切都做得很好,没有错误。但当我尝试访问时,什么都没有发生。页面显示错误,表示连接不安全。如果我仍然继续,那么我会在地址上获得https,但标记为红色警报

此外,我尝试只访问localhost,但通常我通过虚拟主机处理多个网页,因此我不访问
localhost
,而是访问类似
mysite.me或
https://mysite.me

注意:我使用的是Windows10


编辑:根据评论中的要求,我正在添加我的httpd-ssl.conf文件

Listen 443

SSLCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLProxyCipherSuite HIGH:MEDIUM:!MD5:!RC4
SSLHonorCipherOrder on 
SSLProtocol all -SSLv3
SSLProxyProtocol all -SSLv3
SSLPassPhraseDialog  builtin
SSLSessionCache        "shmcb:E:/Install/wamp64/logs/ssl_scache(512000)"
SSLSessionCacheTimeout  300

<VirtualHost _default_:443>
    DocumentRoot "E:/Install/wamp64/www"
    ServerName localhost:443
    ServerAdmin admin@example.com
    ErrorLog "E:/Install/wamp64/logs/ssl_error.log"
    TransferLog "E:/Install/wamp64/logs/ssl_access.log"

    SSLEngine on
    SSLCertificateFile "E:/Install/wamp64/bin/apache/apache2.4.23/conf/certificate.crt"
    SSLCertificateKeyFile "E:/Install/wamp64/bin/apache/apache2.4.23/conf/private.key"

    <FilesMatch "\.(cgi|shtml|phtml|php)$">
        SSLOptions +StdEnvVars
    </FilesMatch>

    <Directory "E:\Install\wamp64\www">
        SSLOptions +StdEnvVars
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require local
    </Directory>

    BrowserMatch "MSIE [2-5]" \
        nokeepalive ssl-unclean-shutdown \
        downgrade-1.0 force-response-1.0

    CustomLog "E:/Install/wamp64/logs/ssl_request.log" \
        "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
听443
SSLCipherSuite高:中:!MD5:!RC4
SSLProxyCipherSuite高:中:!MD5:!RC4
SSLHonorCipherOrder开启
SSLProtocol all-SSLv3
SSLProxyProtocol all-SSLv3
SSLPassPhraseDialog内置
SSLSessionCache“shmcb:E:/Install/wamp64/logs/ssl\u scache(512000)”
SSLSessionCacheTimeout 300
DocumentRoot“E:/Install/wamp64/www”
ServerName本地主机:443
服务器管理员admin@example.com
ErrorLog“E:/Install/wamp64/logs/ssl\u error.log”
TransferLog“E:/Install/wamp64/logs/ssl\u access.log”
斯伦金安
SSLCertificateFile“E:/Install/wamp64/bin/apache/apache2.4.23/conf/certificate.crt”
SSLCertificateKeyFile“E:/Install/wamp64/bin/apache/apache2.4.23/conf/private.key”
发展+标准
发展+标准
选项索引跟随符号链接多视图
允许超越所有
要求本地
浏览器匹配“MSIE[2-5]”\
nokeepalive ssl不干净关闭\
降级-1.0力响应-1.0
CustomLog“E:/Install/wamp64/logs/ssl\u request.log”\
%t%h%{SSL\u协议}x%{SSL\u密码}x\%r\%b

这可能有助于@RiggsFolly,因为有人给了我同样的结果。它只解决了我在
.dll
中遇到的一个错误,但是在那之后,当我尝试访问
时,同样的问题出现了https://...
你真的尝试过让
localhost
成为一个安全的站点吗?也许你最好先显示你的
httpd vhosts.conf
文件,然后你
httpd ssl.conf
@riggsfully我没有对
httpd vhosts.conf
做任何更改,因为它是通过wamp服务自动创建的。但是我确实根据您提供的链接将
httpd ssl.conf
更改为SO站点上的另一个答案,因为它有更多的细节。