moudrick
moudrick

Reputation: 2346

Working sample of ThinkTecture IdentityServer with SelfHost working on https?

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

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.

Upvotes: 0

Views: 2422

Answers (1)

adi
adi

Reputation: 11

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.

Upvotes: 1

Related Questions