User1304932964 posted
I have looked at the other answers on this site and on Google but nothing is quite helping me in my issue.
I am running Windows Server 2012 with IIS 8.0 and the URL Rewrite 2.0 module installed. I have a website in which both HTTP and HTTPS bindings are allowed. However, there is a link to a secured page on my site which requires SSL certs.

If I enter my page via HTTPS and click on the secured link, it prompts for my smart card token, finds and authenticates my SSL cert and is able to take me to the page. However, if I enter my page via HTTP, I am only able to see the home page. If
I click on the secured link, it immediately throws an HTTP 500 error.
I've Googled for how to redirect HTTP to HTTPS and have installed URL Rewrite 2.0. I created some inbound/outbound rules where if a pattern matches http://mypage.com/securedpage, I will rewrite to https://mypage.com/securedpage. However, nothing
I've tried works.
I want the user to be able to enter via HTTP, click the secured link and be redirected to the HTTPS side of things whereupon they will be prompted to present a smart card token.
Any help would be greatly appreciated.