Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 4.09 SSL termination cause redirect loopDNN 4.09 SSL termination cause redirect loop
Previous
 
Next
New Post
1/21/2009 10:16 AM
 

Hi,

We have web server behind Cisco Load Balancer with SSL termination. IIS setup to listen on port 81 (unencrypted http traffic). SSL is installed on Load Balancer.

We are using DNN 4.09.00. We have configured the site setting as below to enable the SSL.

Admin -> Site Settings -> SSL Settings
- Checked SSL Enabled
- Checked SSL Enforced
- Checked Page settings -> Other settings -> Secure for one of the page

Now when I browse the page it goes into redirect loop.

Also If I browse https://preprod-www.aruba.com/images/login.gif - It's working fine

I have placed a temp.aspx at the root of website when I browse it https://preprod-www.aruba.com/temp.aspx - It's working fine. Also all other non secure pages are working fine.

I found some posts with the similar problem but non of them provides any information to resolve the problem or any workaround. If anybody has any insight into (including the core DNN team) how to help us solve this I would be very grateful.

Thanks,
Mahesh

 
New Post
1/28/2009 4:45 AM
 

Hi,

Is there any solution or temporary fix of this issues available? Our portal is going to be live and I am stucked at this issue. It's really frustrating me as I have been searching Internet for last few weeks but still not got any solution.

Can DNN Core Team provide any insight to resolve or temporary fix (By modifying dnn core code) this issue?

Thanks,
Mahesh

 
New Post
5/9/2009 4:37 PM
 

Hi,

I'm faced with the same problem. I have an SSL certificate installed on my server. when i browse to the site using http://www.mysite.com everything works fine; same result when i try accessing the site using https://www.mysite.com , i'm able to access the site fine.

But as soon as I log in, -> admin menu --> site setting --> advenced settings --> CHECK "SSL Enable" and click update. After that i can navigate to the site, except after a I log in using my host credentials, as soon as click on any options under the either the HOST, or ADMIN (Site Settings for example) i get a Redirect Loop error from Firefox and my url in the browser begins with https://...

I have DNN 4.9.2 installed.

Please someone has any idea what is causing this behavior? DNN Core Team HELP please!

Thanks.

 
New Post
5/11/2009 2:00 PM
 

I would love to know what is causing this myself.  I have ecommerce site down because of this issue.  Not sure what is going on.

Thanks.

 
New Post
11/7/2009 3:24 PM
 

I think I've sussed it after having the same problem myself. The clue is the very first part of the first post - SSL termination.

SSL termination is an infrastructure configuration I was unaware of until today. It involves having a server that receives incoming traffic and forwards it to the web server and is usually associated with a load balanced situation. In this situation the SSL certificate sits on the server up front and performs the decryption of the incoming request. As the decrypted data hits the web server, that web server is unaware of the SSL status of the connection. Under these circumstances the usual methods of checking whether SSL is in use all fail:

Request.IsSecureConnection returns False

Request.Url.Scheme returns "http"

Request.Url.ToString() returns a string starting with "http://"

This causes the UrlRewriter HttpModule to attempt a redirect to a secure page, but on the receipt of the redirect the same logic is fired again, hence the permanent redirect.

IF the hosting provider forwards the SSL traffic from the SSL terminating server to the web server using a different port from non-SSL traffic then you may be able to detect that and define SSL/non-SSL URL settings containing port numbers to get around the problem. In my case the SSL and non-SSL traffic all comes in on port 80, so I'm a bit stuffed.

The recommendation in this circumstance (outside of the DotNetNuke community) appears to be to get the SSL terminating server to add a custom header to the incoming request and then test for the existence of that header to identify whether SSL is in use or not. This code would require customisation of the UrlRewriter HttpModule. It's also a problem in a shared hosting environment because it depends on your hosting provider 'buying in' to your problem and making the change for you necessary to add the header. It's at this point that good hosting companies are likely to stand out from the crowd, because my guess is that many will not help in this way. After all, changing the infrastructure you use to serve all your customers based on a request from a single one is a tough position in which to be placed.

I hope this makes some sense and in some way helps a few people. I'll post more if I suss how to get round it in my situation. Good luck to everyone else!

 

ASH

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN 4.09 SSL termination cause redirect loopDNN 4.09 SSL termination cause redirect loop


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out