I like to use FireFox Developer Edition, and today I discovered that root certificates and such added to Windows (to trust self-signed certificates used with dev-servers, etc.) apparently are ignored by FireFox. At least by default:
- Go to about:config
- Find security.enterprise_roots.enabled
- Set it to true
To cleanly redirect HTTP to HTTPS with IIS, first install the URL Rewrite module, and then add the following to your web.config. Also remember to have bindings defined for your site for both HTTPS(443) and HTTP(80).
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="HTTP to HTTPS redirect" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>
<action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Source: StackOverflow
With a hint of Social Ineptitude