Chrome accept self-signed localhost certificate

Deadly 提交于 2019-12-18 07:08:47

问题


i did follow all the answers on here and nothing worked for me... nothing at all. I'm on windows 10, using chrome version 54.0.2840.99 m trying to access my QNAP TS-453a on local on a static ip address (10.1.1.1) https://10.1.1.1/cgi-bin/

I tried using imported certificates, self signed, export and import the default one, etc nothing works

Some help would be really really appreciated


回答1:


Valid as of Chrome v58.0.3029:

  1. Visit the site in Chrome.
  2. Open Developer Tools (F12)
    • Navigate to Security tab
    • Click "View certificate"
      • Click Details > Copy to file
      • Choose a save location on your local machine
  3. Open Chrome settings
    • Toggle "Show Advanced Settings" (bottom of screen)
    • Navigate to HTTPS/SSL > Manage certificates
      • Click "Trusted Root Certification Authorities"
      • Click Import
      • Navigate to the cert you just stored
  4. Quit Chrome (Ctrl+Shift+Q) and re-visit your site

NOTE:

Chrome recently (as of 05/15/17) began to require that the cert's subjectAltName parameter be filled. This question received an answer that tells you how to do so.




回答2:


In general, to troubleshoot this kind of problem, open Developer Tools, go to Security tab, and you will see what Chrome deems wrong with that certificate.

It is likely that it doesn't include a subjectAltName extension, and the solution for adding one is here: https://stackoverflow.com/a/56530824/2873507



来源:https://stackoverflow.com/questions/40951939/chrome-accept-self-signed-localhost-certificate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!