ssl - 如何创建受信任的自签名 SSL 证书

标签 ssl https

我在 IIS7.5 中创建了一个自签名证书,但出现以下错误

    There is a problem with this website's security certificate. 


 The security certificate presented by this website was issued for a different website's address.

Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.  
  We recommend that you close this webpage and do not continue to this website.  
  Click here to close this webpage.  
  Continue to this website (not recommended).  
     More information 


If you arrived at this page by clicking a link, check the website address in the address bar to be sure that it is the address you were expecting. 
When going to a website with an address such as https://example.com, try adding the 'www' to the address, https://www.example.com. 
If you choose to ignore this error and continue, do not enter private information into the website. 

For more information, see "Certificate Errors" in Internet Explorer Help.

如何解决这个错误?

最佳答案

这不是错误,而是警告,浏览器不信任您生成的证书。

要在您控制的机器上禁止此操作,您可以将证书添加到受信任的根 CA 存储区 (Example)。

如果此机器在 Internet 上/由您无法控制的机器访问,则您无法更改此行为,除非您从受信任的颁发 CA 购买证书。

关于ssl - 如何创建受信任的自签名 SSL 证书,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58316085/

相关文章:

ruby-on-rails - Ruby 尝试从 https ://api. ruby​​gems.org 下载,即使使用源 key

ssl - TestCafe、HTTPS 和多浏览器测试

apache - 相对链接(来自 https)给出 301 永久移动(到 http)

wordpress - wordpress 网站的 SSL 证书

java - 在适用于 Linux 的 Windows 子系统 (WSL) 上安装 mitmproxy

laravel - 如何在 VestaCP 的单个项目中为多个域启用 let's encrypt SSL?

java - 尝试连接到 Web 套接字服务器时不断收到 No X509TrustManager implementation available 错误

java - 嵌入 Jetty 时如何将 AxisConfiguration 传递给 AxisServlet

ssl - 识别和禁用弱密码套件 Windows server 2008/IIS 7

c# - SSL 网络服务 : Could not create SSL/TLS secure channel