DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN will not allow https

 14 Replies
 4 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Page 1 of 212 > >>
Author
Messages
New Around Here
Posts: 7
New Around Here

I have installed the SSL certificate correctly.  I have specified force SSL in DNN. I can access a test HTML page on the site with https, but if I try to use https for the site itself, it reverts to http.  Any ideas?

New Around Here
Posts: 7
New Around Here

Discovered that the problem is that DNN is not loading default.aspx.  The site works if I specify default.aspx, but not if I use the domain name alone.

Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!

This sounds like a friendly url issue. Do you use an old version of DNN? Because I have not heard about these kind of issues in years.

Veteran Member
Posts: 546
Veteran Member
MVP
MVP
You're an MVP!
did you check default documents setting for your IIS website?
New Around Here
Posts: 7
New Around Here

Thank you both for your responses. The version of DNN is the latest (v. 09.10.02 (0)).  I've implemented DNN for many years since version 5 and never had this issue. The default document is correct. You can test it for yourself by going to the following links:

https://ketologger.online   (will revert to http)

https://ketologger.online/default.aspx (will remain in https)

This is just weird and I have no explanation for it.

 

 

Growing Member
Posts: 51
Growing Member
As a workaround, my preferred approach is an IIS rewrite rule that enforces https. Then there is no need for DNN to do anything; it won't ever see an http request.
New Around Here
Posts: 7
New Around Here

I read about that option and I will probably try it, but it just doesn't feel right. I can live with a workaround, but never feel great about it.

Growing Member
Posts: 51
Growing Member
How interesting - the different perspectives people have.

It feels totally right to me that a web application (ie DNN) does not care about how the requests are delivered to it. It just processes whatever arrives.

So keeping knowledge of https out of DNN seems right to me.

Good luck in finding a solution you are comfortable with.
New Around Here
Posts: 7
New Around Here

fair enough, but DNN does provide an option to force SSL, so surely they thought about this need. Plus there's the fact that this has never happened with any previous implementation of web software I've used, DNN or otherwise.  I think there may be an issue in this current release.

New Around Here
Posts: 7
New Around Here

I implemented the url rewrite and it works, so problem solved though the mystery remains in my mind.  Thanks all.

Page 1 of 212 > >>

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved