Products

Solutions

Resources

Partners

Community

About

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 ...How can I configure my DNN site to use SSL functionatliy in Rackspace Cloud?How can I configure my DNN site to use SSL functionatliy in Rackspace Cloud?
Previous
 
Next
New Post
7/16/2009 4:06 PM
 

Right now, in the Cloud environment, SSL is routed through port 80, and does not use the Server variable 'HTTP', it uses a different one.

 

For example:

if(Request.ServerVariables["HTTP_CLUSTER_HTTPS"] != "on") { // we need to redirect
// check to see if the other Server Var is defined, if not redirect otherwise dont

if(Request.ServerVariables.Get("HTTP_CLUSTER-HTTPS") == null) {
Response.Redirect("https://" + Request.ServerVariables["HTTP_HOST"] + newUrl);
}
}
 
 
Here is another one:
 
<system.webServer>
<rewrite>
<rules>

<rule name="Redirect to HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTP_CLUSTER_HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther" />
</rule>

</rules>
</rewrite>
</system.webServer>

The problem is DNN does not know this new server variable and will not display the credit card in the browser without seeing the site is using SSL. I have gone through and enabled SSL through the Site Admin functions, edit the DNN code to reflect the new server variable and wanted to know if this is the route to go, or does anyone have any other advice that may be helpful. I have been trying for months to get this working.

 

Thanks.

Thomas Beck
Support Technician
The Rackspace Cloud

<a  href="http://www.rackspacecloud.com" style="text-decoration:none;  font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align: center; display: block;"><img alt="Cloud Hosting - formerly Mosso" src="http://cdn.cloudfiles.mosso.com/c110782/the-rackspace-cloud-125-wide.png" border="0"/><br />
Cloud Hosting</a>

 

 
New Post
7/20/2009 10:41 AM
 

Thomas,

There are a few questions that I have in regards to working with this.

1.) Where all in the DNN code did you change?

2.) What module are you using that is processing credit cards?  it is quite possible that it will need modifications as well.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
8/27/2009 9:53 AM
 

We are using Catalook for the module and the area where we run into problems is for offline credit card processing.  The module requires the page to be SSL to show the full CC number in the Orders module. Without DNN seeing the domain in SSL mode, it does not display the CC numbers. If you can help out in this matter, it would be of great assistance to us. Thanks.

 
New Post
8/27/2009 10:44 AM
 

I forgot to add, I made the changes to /Config/DoteNetNuke.config file and I believe there was one more reference to use HTTPS as the server variable, but not too sure it had any precendence in DNN

 
New Post
9/14/2009 12:45 PM
 

I also found another file that I edited:

 

./admin/Portal/App_LocalResources/SiteSettings.ascx.resx:    <value>When this option is set, Pages which are not marked as Secure will not be accessible with SSL ( HTTP_CLUSTER-HTTPS )</value>
 

That shows the value I changed to. Should this all work in theory? Can we edit the port it uses?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How can I configure my DNN site to use SSL functionatliy in Rackspace Cloud?How can I configure my DNN site to use SSL functionatliy in Rackspace Cloud?


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