Kamal Rathnayake
Kamal Rathnayake

Reputation: 582

Change Visual Studio ASP.NET HTTPS Certificate

When we turn on SSL in visual studio for an ASP.NET project. Visual studio sends a generated certificate to the browser when we access the debugging localhost site.

I need to change the certificate that visual studio sends to the browser. I have a self signed .PFX certificate file for this.

How can i get this done?

Upvotes: 1

Views: 1281

Answers (1)

Luca Ghersi
Luca Ghersi

Reputation: 3321

If, with local, you mean the "ISS Express" SSL certificate, I suggest you to check this extremely detailed Hanselman article.

You should check specifically section 2: MAKING AN SSL CERT, HOOKING IT UP TO IIS EXPRESS AND MAKING IT TRUSTED

I guess is what you're looking for. Hope it helps!

Upvotes: 1

Related Questions