Hello,
The usage of any SSL balancer / accelerator hits a limitation in current versions of Kentico
CMS (including last 5.5 R2). Our RewritingEngine detects the protocol from URL only. It doesn't detect any of the methods to inform server about forwarded HTTPS request, like
HTTP.X-Forwarded-Proto or
X-Forwarded-SSL headers or similar. When the http url for a page that "Requires SSL" is hit, the rewriter redirects to https:// and starts an infinite loop.
Currently there are two options:
1) Modify the source code of our UrlRewriter to reflect those headers for protocol detection. (This requires the source code license).
2) Incorporate your own detection code into Global.asax.cs and manually detect which pages (URLs) should be under SSL and check the X-Forwarded headers to prevent redirection loops.
(You cannot use the SSL settings on the Security tab of the document properties in that case.)
Fortunately, in upcoming version 6.0 (Q3/2011), there should be a possibility to enable detection of these forwarded requests from SSL offload/balancers. Please feel free to contact us after official release to get more details.
Best regards,
Zdenek Cetkovsky