Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to have my website require SSL if it is using Windows Authentication?

So far, I'm not having luck with it.

share|improve this question

migrated from Nov 18 '11 at 12:23

This question came from our site for professional and enthusiast programmers.

Do you want it to require SSL only if Windows authentication is used or do you want SSL to be an always-on thing? – Top__Hat Nov 18 '11 at 12:33
The site will always be using Windows authentication. SSL should always be in effect. – Paul Marangoni Nov 22 '11 at 15:25

If you are always using Windows Authentication and always using SSL then the following should fit the scenario. 1. Rurn off all other forms of authentication in IIS. 2. Setup a redirect site in IIS to redirect all HTTP traffic to the HTTPS site (on the same server).

This forces all HTTP traffic over to SSL and only allows for Windows authentication.

Note this may behave strangely for non-IIS browsers due to how Windows Authentication works.

share|improve this answer
The steps above should get you what you need. This is a pretty standard setup. – Tatas Nov 22 '11 at 18:35
I had already tried that. Weird thing is, the site won't load/render at all with https if it's using Windows authentication. We're using a self-signed certificate by the way. – Paul Marangoni Nov 22 '11 at 20:17
What browser(s) are you using? Does it work with anon access? – Top__Hat Nov 22 '11 at 20:30
Internet Exploder. It does work with anonymous, and non-SSL. But since I have never tried SSL with Windows auth, I thought that maybe it wasn't even possibe (or even redundant). If you're sure it should work, it must be a problem with my SSL certificate. – Paul Marangoni Nov 22 '11 at 20:43
Does the client trust the self-signed cert? – TristanK Nov 23 '11 at 6:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.