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

后端 未结 7 1746
闹比i
闹比i 2020-12-08 06:56

I\'m trying to setup SSO using OWin and Thinktecture Identity Server but I am not having any luck getting the SSL certificate to work. At least I think that\'s the problem.

7条回答
  •  盖世英雄少女心
    2020-12-08 07:26

    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 button, run MMC.EXE
    2. File, Add Snap-In: Certificates
    3. Use Computer Account, Local computer, Ok
    4. Go under Personal / Certificates
    5. Right click "localhost" and drag and drop on Trusted Root ....
    6. Select "copy"

    Done. Enjoy.

提交回复
热议问题