Search code examples
iis-expressrider

Rider - Unable to set up IIS Express Developer Certificate


I'm getting a warning in Rider that the IIS Developer certificate is not set up for one of my projects

"IIS Express developer certificate is not set up for https://localhost:44350. This may cause errors on project start."

When I click the option to set up the certificate I get an exception: "SSL Certificate: Certificate setup error: Cannot set up trusted certificate: Certificate not found for thumbprint "[Cert Thumbprint]" in the local machine storage"

When I open up MMC and check the certificates in Local Machine and Current User the Cert with the thumbprint in the error message is there in both Personal and Trusted Root Certs.

I am unable to run my projects in Rider because of this.

Any ideas?


Solution

  • I ended up removing my certificates and using Visual Studio to install and configure it again automatically for me. After that Rider had no issues.

    Not really a solution to the problem, but it was the only thing that worked.