I'm using the Self Signed Certificate in ASP.NET Core with is default on as noted in this article
I have trusted it with the command dotnet dev-certs https --trust
In Chrome and Edge, my API is showing 'Connection secure' in green when calling it. However, in Mozilla Firefox (Quantum 61.0.1), it is giving 'Connection insecure' with the following error: MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT
How can I solve this? How can I configure Firefox to allow Self Signed Certs? Or is this something I have to do in code?
From the Tools menu, click Options > Advanced tab. Click View Certificates. Select the Authorities tab. Click Import.
Secure Connection Failed on Firefox error comes up when the browser does not recognize the Certificate Authority (CA) associated with the SSL certificate. However, this matter can be resolved by adding a new CA in the browser.
https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl#trust-ff Explains it on the offical docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With