如何创建受信任的自签名SSL证书 [英] How to create a trusted self signed SSL certificate

查看:398
本文介绍了如何创建受信任的自签名SSL证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I create a self signed certificate in IIS7.5 and I am getting an error that follows

    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.

如何解决此错误?

推荐答案

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

Its not an error its a warning, the certificate you generated is not trusted by the browser.

要在您控制的机器上抑制此操作,您可以将证书添加到受信任的根CA存储中(

To supress this on machines you control you can add the certificate to the trusted root CA store (Example).

如果此计算机位于Internet上/不受您控制的计算机可以访问,则除非您从受信任的颁发CA购买证书,否则您将无法更改此行为.

If this machine is on the internet/accessed by machines you do not control, you cannot alter this behaviour unless you purchase a cert from a trusted issuing CA.

这篇关于如何创建受信任的自签名SSL证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆