Is there a working example of ThinkTecture IdentityServer with SelfHost working on https?
I searched samples in the project itself and in separate project for samples
- https://github.com/thinktecture/Thinktecture.IdentityServer.v3
- https://github.com/thinktecture/Thinktecture.IdentityServer.v3.Samples
All I found included RequireSsl = false
in IdentityServerOptions
, and precofigured urls to http (e.g. http://loсalhost:3333/core. Any attempt to change it to https leads to IDX10803: Unable to create to obtain configuration from...
What I need is working example or instructions, how to change any of that samples to run under https. We can suppose that any client in the sample has been already configured to https, if it is a requirement.
Check if you have IIS Express Development Certificate it's used for localhost bindings.
If not use this answer to restore it.
Then you can use cmd: netsh http show sslcert to check ipport bindings and add new if needed.
Hope this will help you.