vainolo
vainolo

Reputation: 6987

Re-Installing Visual Studio 2017 Localhost Certificate

Sometime in the process of installing VS2017 (or maybe later), the program installs a certificate for local development.

Everything worked fine until I installed Fiddler and since that moment the VS2017 certificate stopped working and I get the "Your connection is not private" message whenever I navigate to my localhost app.

Any ideas how to re-install the original certificate so that my localhost becomes again a trusted host?

Upvotes: 3

Views: 9569

Answers (1)

RickAndMSFT
RickAndMSFT

Reputation: 22770

Type “manage computer certificates” into the win10 search box. Navigate to Personal/Certificates: enter image description here

Verify you have exactly one localhost cert. If you have more than one, delete all but the most current. If you have one but localhost is not trusted, delete it. Visual Studio will prompt you to install a new cert when localhost uses HTTPS, not when you install VS2017.

It's unlikely Fiddler had anything to do with this problem.

Upvotes: 5

Related Questions