I want to use Thinktecture IdentityServer 3 to provide STS to ASP.NET site but I don't know how to setup the certificates.
How do I use SelfHost (InMem with WS-Fed) Thinktecture Identity Server 3 as STS for a local IIS site?
The problem I have is as follows:
I've used this client in VS Development Server: https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/Clients/MvcOwinWsFederation
with the SelfHost (InMem with WS-Fed): IdentityServer3.Samples/tree/master/source/SelfHost%20(InMem%20with%20WS-Fed)
It all works, connects, authenticates and displays claims.
But when I publish the client to local IIS site called WSFedClient and that tries to authenticate against the same self-host STS, but I get this error:
"The remote certificate is invalid according to the validation procedure."
I've followed this: https://github.com/IdentityServer/IdentityServer3/issues/553
...but I'm still confused about what it is I need to do.
Check following things regarding your certificate. Most probably point # 2 below causing this error.