Mobile app version of vmapp.org
Login or Join
Sent6035632

: Force SSL on IIS site with NT authentication We recently implemented SSL on our reseller portal and have been receiving complaints about needing to log in twice. This is of course because they

@Sent6035632

Posted in: #Authentication #Https #Iis #Redirects

We recently implemented SSL on our reseller portal and have been receiving complaints about needing to log in twice. This is of course because they bookmarked the site before we had SSL so their bookmark is HTTP. The only way I could figure out how to implement SSL was via VB.NET code, so they have to authenticate first against HTTP, then they are redirected to HTTPS, which requires them to authenticate again.

I have previously tried forcing SSL using settings in IIS, with a custom 403:4 error page, but this causes multiple logins followed by an access denied message. Based on my limited knowledge of server configuration, I've come up with the following theory: allow the user to access HTTP without authenticating.

Is it possible to have two sites with the same host header, one listening on port 80 and the other listening on 443? Or is there some simple solution that I'm not aware of?

We are running IIS6 on Windows 2003 Server. The entire site is protected with NT authentication.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sent6035632

1 Comments

Sorted by latest first Latest Oldest Best

 

@Frith620

If you run the site entirely under SSL now, you can open up the the non-SSL site for anonymous visitors and then redirect all visitors to the SSL site. This way visitors are not required to authenticate against the non-SSL version and only to the SSL site.

The easiest way to do this without to much changes to your current setup is to create an extra site for the non-SSL site (i.e. binding to port 80 and remove that binding from the SSL site) and redirect any request coming in to the non-SSL to the SSL site.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme