问题
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:
- Visit the site in Chrome.
- Open Developer Tools (F12)
- Navigate to Security tab
- Click "View certificate"
- Click Details > Copy to file
- Choose a save location on your local machine
- 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
- 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