Force SSL

Discussion in 'Hosting Services / Control Panel' started by ruggernut, Jul 2, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. After a long search, I was able to force the redirection of my site from http:// to https:// using the following methods:

    Using IIS 7 Admin - UN-CHECK "Require SSL" and "Require 128-bit SSL".
    In my web.config - I added the following (Also shows up in the URL Rewrite section of IIS Admin):
    system.webServer>
    <rewrite>
    <rules>
    <rule name="Force HTTPS" enabled="true">
    <match url="(.*)" ignoreCase="false" />
    <conditions>
    <add input="{HTTPS}" pattern="off" />
    </conditions>
    <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
    </rule>
    </rules>
    </rewrite>
    (This is from the post - http://forums.iis.net/t/1153050.aspx)

    When I go to http://www.sitename.net it does redirect to https://www.sitename.net and the Security Report shows my ssl cert info.

    Not to sound ignorant here, but, is this actually using SSL even when the "Require SSL" and "Require 128-bit SSL" boxes are unchecked?
     
  2. Yes it does.
     
  3. Ok - Thanks.
     
  4. This original post may have not appeared for viewing. I went a head and approved all thread and the original post should now be visisble for reviewing.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page