Arianit
Arianit

Reputation: 553

Certificate error while setting SSL enabled for my Asp.Net MVC project

When I run the project with SSL I get a warning in the browser, in every browser: firefox, IE, edge, chrome. When I launch the project it doesn't show me the warning dialog and I don't know if I have any certificate installed.

How to check if I have the certificate installed and if not, how to install it?

Upvotes: 0

Views: 4559

Answers (2)

Jason Parms
Jason Parms

Reputation: 386

You can use online SSL checker tool to diagnoses issues regarding SSL certificate installation.

You should check that you are using a self-signed certificate or a CA signed certificate. If it’s a self-signed certificate then your users will experience warning message when they browse your site because browsers don't recognize it.

If you have a CA signed certificate, then you received a certificate via email from trusted third-party certificate authority, which contains the root, intermediate and primary certificates. You should install all three files on your server.

You should update your all browser. Modern browsers have already implemented root certificate, so you need to configure only intermediate and primary certificate on the server.

Follow below link which may help you to add CA Root certificate in the Trusted Root Certification Authorities store. https://technet.microsoft.com/en-us/library/cc754841(v=ws.11).aspx

Upvotes: 1

Ignas
Ignas

Reputation: 4338

You probably need to add your certificate to CA Root.

High level plan:

  1. Export SSL certificate from IIS.
  2. Import that SSL certificate into CA Root.

Here is a blog post that explains everything in detail and with screenshots.

If you use Google Chrome, you might need to close and re-open it after installing a new SSL certificate due to browser's caching.

Upvotes: 3

Related Questions