1.9.1 and SSL

Topics: General, Installing Orchard, Troubleshooting
Aug 11, 2015 at 3:26 PM
Edited Aug 11, 2015 at 7:43 PM
To start with I am also running a site in 1.8.1 and it is working correctly with the Secure Sockets Layer Module and Output Cache. However in 1.9.1 I encountered a number of problems when enabling SSL:
  1. If I specify an odd port mydomain.com:444 -- it seems to be converting the port to the ip address and redirecting to it rather than the https://hostname:port when transitioning from http and https.
Example: newlifeephrata:443 --> https://0.0.1.187/Users/Account/AccessDenied?ReturnUrl=%2fadmin in the transition. Took me awhile to realize 0.0.1.187 is the decimal conversion of 443. Converts to decimal to ip address according to the secured host name setting.

Workaround:I was able to work around this by moving around bindings so that 443 was on the 1.9.1 site and did not need to enter port number, this appears to work.
  1. If Output Cache is enabled the site does not transition back to http when logging out. If I evict the page where I log out it works.
Workaround: If I disable Output cache and it works.
  1. If I log into the site, close the tab (not the browser). Browse back to the site using normal http the user is not detected as logged in. When I attempt to browse to admin I get Access Denied, and site figures out that I am actually logged in.
Workaround:Run the whole site in HTTPS, site not very large so this is not an issue.

Thanks,
Matt
Nov 9, 2015 at 3:47 PM
I just ran into this also, thanks for the explanation. Any hints in how to run this on a DEV machine via Visual Studio?

thx
Ralph
Dec 8, 2015 at 9:54 PM