0

I am fairly new to .NET Core, and I am working on a new MVC application. I would like to have SSL enabled such that browsers will not complain about insecure certificates.

I have enabled SSL in the project properties, but the browser still says the certificate is insecure.

Is there a way to configure the certificate either within the appsettings/configuration file, or using the MMC certificates snap in (I am on Windows 7) so that browsers will not complain like this:

Chrome SSL Cert Error

Chrome Cert Not Secure

I am in Development, but I am eagerly in search of the proper way to achieve this!

Thanks in advance!

1

1 Answer 1

0

The default certificate generated by IIS Express installer is no longer valid for Chrome, and you have to generate a new one. Also you need to let Windows trust the self-signed certificate.

All steps can be done manually, or via a tool like Jexus Manager. More details can be found in,

https://blog.lextudio.com/why-chrome-says-iis-express-https-is-not-secure-and-how-to-resolve-that-d906a183f0

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.