Sign In  |  Register
 
 
DotNetNuke Support Forums
Setting up SSL in DNN 4.5.4+
Last Post 20 Nov 2008 11:28 AM by BriC. 43 Replies.
Printer Friendly
Sort:
PrevPrevNextNext
Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 3 of 3 << < 123
AuthorMessages
John Mitchell
Administrator
Veteran Member
Veteran Member
Send Private Message
Posts:4384
Avatar

--
28 Apr 2008 07:38 AM  
If you don't have an SSL cert installed on that site then the server will close the connection before the request gets to IIS or ASP.Net

This is because that port (443) has not been enabled.
OM
New Member
New Member
Send Private Message
Posts:42

--
30 Apr 2008 11:18 PM  

Doh, of course, thanks.  I've now got a cert installed.  I had thought that since I want to have all https redirected to http, I wouldnt need a cert, but without a cert port 443 wont be open.

Now it is almost working, except that it seems to just URL rewrite, not redirect(?)

If I check https://mysite.com, the server header check shows 200 OK, with no mention of a 301.  If I browse to the page, it serves up https://mysite.com.  So it has done something, but I'm not quite sure what it has done - maybe a Response.Redirect?  I will have to dive into the source and try to figure it out.

OM

OM
New Member
New Member
Send Private Message
Posts:42

--
01 May 2008 05:35 AM  

Discussion continued back at ... http://www.ifinity.com.au/Products/Support_Forums/forumid/8/postid/392/scope/posts/ ... apparently if EnforceSSL is true, and Page.Secure is false, it does a javascript reload via window.location.replace - which is not a redirect at all, it is just more duplicate content, the code is :

Response.Clear()

' add a refresh header to the response

Response.AddHeader("Refresh", "0;URL=" & strURL)

' add the clientside javascript redirection script

Response.Write("[html][head][title][/title]")

Response.Write("[!-- [script language=""javascript"">window.location.replace(""" & strURL & """)[/script> --]")

Response.Write("[/head][body][/body][/html]")

' send the response

Response.End()

BriC
New Member
New Member
Send Private Message
Posts:1

--
20 Nov 2008 11:28 AM  

Ordinarily I don't revive old threads but perhaps it's forgivable in a tutorial I've just been following.

I've got SSL set up with 'SSL Enabled' and 'SSL Enforced'.  It's working great on the page which I've marked 'Secure' in the page settings ... everything else comes up as regular http (which is how I'd prefer it).

But I'm trying to set up a web service.  I have the webservice URL and would like to make it SSL. But at least when I type it into the browser it reverts to regular http.

I don't know what this means for when I get to implementing the webservice client but I fear that it means I've got another hoop of some sort to jump through. I would prefer to leave 'SSL Enforced' but I could use some advice.

Thanks
Brian

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 3 of 3 << < 123


Active Forums 4.1
Visit our Store for great DotNetNuke Modules and Skins
DotNetNuke CSS Menu 3.4.6 (single use)

Item codeCSSNM33SU
AuthorJohn Mitchell
Base Price$39.00
Product Information 
DotNetNuke CSS NavMenu 3.4.6 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
DotNetNuke Performance Caching & Compression - PageBlaster 3.4.5 - Professional Edition

AuthorJohn Mitchell
Base Price$59.00
Product Information