我在本地主机(wamp)上安装了ssl,我用GnuWIn32制作了ssl。
当我尝试在Chrome中使用fb 登录时,我会收到以下消息:
URL:
https://localhost/ServerSide/fb-callback.php?code=.....#_=_错误:
你的联系不是私人的。 攻击者可能试图从本地主机窃取您的信息(例如密码、消息或信用卡)。NET::ERR_CERT_INVALID。本地主机通常使用加密来保护您的信息。这一次,当Chrome试图连接本地主机时,该网站发回了不寻常和不正确的凭证。当攻击者试图假装是本地主机或Wi登录屏幕中断连接时,可能会发生这种情况。您的信息仍然是安全的,因为Chrome在交换任何数据之前就停止了连接。 您现在不能访问本地主机,因为该网站发送了Chrome无法处理的伪造凭据。网络错误和攻击通常是暂时的,因此此页面可能会在稍后工作。
我的SSL Config:
Listen 443
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5
SSLPassPhraseDialog builtin
SSLSessionCache "shmcb:c:/wamp/www/ssl/logs/ssl_scache(512000)"
SSLSessionCacheTimeout 300
<VirtualHost *:443>
DocumentRoot "c:/wamp/www"
ServerName localhost:443
ServerAdmin admin@example.com
ErrorLog "c:/wamp/logs/error.log"
TransferLog "c:/wamp/logs/access.log"
SSLEngine on
SSLCertificateFile "c:/wamp/www/ssl/ia.crt"
SSLCertificateKeyFile "c:/wamp/www/ssl/ia.key"
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "c:/Apache24/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-5]" nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog "c:/wamp/logs/ssl_request.log" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost> 我的问题是如何在本地主机上设置有效的SSL证书?还是我需要编辑我的配置?
发布于 2016-12-07 14:39:26
允许不安全的SSL (本地主机)
在Chrome (包括Version 108)中,启用允许不安全的本地主机__:
chrome://flags/#allow-insecure-localhost

有关更多信息,请参考这个堆栈溢出。
允许不安全的SSL (其他)
thisisunsafe (键侦听器获取它)。备注
如果您只是好奇这是否有效,请浏览具有不良根ssl证书的https://untrusted-root.badssl.com/。使用https://badssl.com/可以找到其他“坏ssl”站点。
这是针对每个网站的具体情况。chrome开发人员也会定期对此进行更改。当前(v108)
BYPASS_SEQUENCE是dGhpc2lzdW5zYWZl( base64编码)。
发布于 2020-10-31 08:33:30
private...NET::ERR_CERT_INVALID" 1.1.当您看到时,“您的连接不是Chrome上的警告,
"thisisunsafe" 2.只需输入并等待。
注:上次测试,Chrome最新版本为107.0.5304.107
发布于 2021-08-13 11:31:32
Your connection is not private
Attackers might be trying to steal your information from 10.10.10.10 (for example, passwords, messages or credit cards). Learn more
NET::ERR_CERT_INVALID直接在同一铬页上键入“badidea”或“thisisunsafe”。
如果您确实确信您正在尝试的链接是安全的,请执行此操作。在我的例子中,我试图使用迷航器和virtualbox在本地设置堆叠风暴
Chrome版本: 92.0.4515.131 (官方版本) (x86_64)。来源
https://stackoverflow.com/questions/35565278
复制相似问题