A HTTPS server I'm browsing uses an invalid certificate. I want my machine to ignore this error and think that the certificate is valid. How to do that?
-
possible duplicate of Can I disable certificate error/warning in Firefox/Chrome/Internet Explorer?– Ƭᴇcʜιᴇ007Jan 2, 2012 at 20:09
-
Disabling certificates is not a solution. You're leaving yourself open to expired certificates, an attacker trying to intercept communications and/or tampering with your internet connection. It is better to accept the invalid certificate only if you know and trust as to why this is happening.– kobaltzJan 2, 2012 at 20:13
-
1@kobaltz I don't want to disable all certificate checking, just this one– Jader DiasJan 2, 2012 at 20:15
-
correct, see my answer below.– kobaltzJan 2, 2012 at 20:17
1 Answer
It will depend on each browser. Your server has a certificate, but each browser will display that this certificate was generated by an unknown authority.
Personally, I run a private cloud which is accessible only within my network. I know that it communicates with a secure connection and that the certificate was self generated by the server. Knowing this, I know that my connection is still encrypted but is not authorized/verified with a known agent. I will always get these errors.
However, it is not a good idea to disable the error/warning as that is no different than removing your Check Engine light bulb. Hides the problem but does not solve your root issue.
Firefox:
This part will allow you to add the exception for the certificate and not display this information again while keeping the connection secured.
-
I know this, I don't want to simply avoid this message. I want the machine to trust the invalid certificate. Jan 2, 2012 at 20:14
-
If you use Firefox, it will install the certificate as described above.– kobaltzJan 2, 2012 at 20:22
-
What about in Firefox 51? I don't see the "I understand the Risks" link any more. I've searched the world over for a way to add an exception.– bgmCoderMar 1, 2017 at 17:10