Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Core Self Signed Certificate in Firefox not working

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?

like image 265
Appsum Solutions Avatar asked Jul 13 '18 11:07

Appsum Solutions


People also ask

How do I fix Security certificate error in Firefox?

From the Tools menu, click Options > Advanced tab. Click View Certificates. Select the Authorities tab. Click Import.

Why is SSL not working in Firefox?

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.


1 Answers

https://docs.microsoft.com/en-us/aspnet/core/security/enforcing-ssl#trust-ff Explains it on the offical docs.

like image 56
RickAndMSFT Avatar answered Sep 18 '22 15:09

RickAndMSFT