IdentityServer: The remote certificate is invalid according to the validation procedure

In my case I was just trying to work through the samples (for ID3v2) and getting the cert errors running locally. Since some samples even do self hosting via owin I’m not even sure where it’s getting the certs for host side??

Anyway my fix was to copy the cert to the Trusted Root:

  1. Windows => Start => run MMC.EXE
  2. File=> “Add/Remove Snap-In…” => Certificates
  3. Use Computer Account => Local computer => Finish => Ok
  4. Go under Personal / Certificates
  5. Right click “localhost”, Select Copy
  6. Paste to “Trusted Root Certificate Authorities”

Done. Enjoy.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)