Posted on: 3/14/2015 11:22:42 PM | Views : 783

Win7 VS 2013 Pro. I need to force my site to run in SSL only, and I added the <rewrite> block to the web.config.
<system.webServer> <!-- Ensure HTTPS: --> <rewrite> <rules> <rule name="Redirect HTTP to HTTPS" stopProcessing="true"> <match url="(.*)"/> <conditions> <add input="{HTTPS}" pattern="^OFF$"/> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther"/> </rule> </rules> </rewrite> Now whenever I try to run the app on my desktop for debugging (F5), I get
SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long) < ...

Go to the complete details ...