Closed Kralizek closed 11 years ago
Thanks! I will look into it.
Just to understand - will it be good enough to use the SSL port from config for the redirect?
I guess that's the expected behavior, especially if you explicitly accept a port number in your configuration.
OK - just want to make sure this is what you need.
I mean how do you get to the HTTPS config setting in the first place?
I manually browse to the HTTPS url instead of using the HTTP and let the site redirect me to the HTTPS binding. In this way I can normally use the admin UI to configure the service
ah ok. cool. Will fix it.
I'll try it up :)
Ok i deployed it and it doesn't work.
I'll try to depict the current status: On a given server we have N web sites, each bound to a specific 2nd level domain. One of these is configured for using SSL connections over the port 443 (site1.domain.com). Please note that we have a *.domain.com certificate.
At this point I added a new web site containing IdentityServer and I used these bindings:
Before your change:
After your change:
Well - works for me ;)
I have SSL port set to 444. When i come in via
i get redirected to
Why do you need the * binding for SSL on port 4567?
Can you debug?
Apparently, HTTPS *:4567 is the one that makes everything work because if i remove it i can't access the site anymore.
UPDATE: I recreated the site and now I'm able to run with only two bindings:
HTTP auth.domain.com :80 HTTPS auth.domain.com :4567
I'm trying to set up the server on my machine and debug it.
Ok the code works properly, but the problem is somewhere else i guess.
I tried:
If you run your the web server on a custom HTTPS port (not 443), when navigating to the site via HTTP, the issued redirect will always be to the standard HTTPS port (443), ignoring the port number set in the configuration. This creates problem when the IdentityServer web site is hosted on a shared server whose port 443 is already used.