DNN Forums

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

Unable to open File management root folders

 4 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 0
New Around Here

getting below error when we open site root asest folder in QA site:

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure resource ''. This request has been blocked; the content must be served over HTTPS.

Mixed Content: The page at 'https://site.com//apps/site-assets?folderid=36&folderId=36&view=gridview&pageSize=10' was loaded over HTTPS, but requested an insecure resource 'http://site.com/apps/site-assets/ctl/folderproperties/mid/589?returnurl=https%3a%2f%2fsite.com%2fapps%2fsite-assets&popUp=true&folderId=37&skinSrc=Portals%2F_default%2FSkins%2F_default%2FpopUpSkin'. This request has been blocked; the content must be served over HTTPS.

Any one please help me on this

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

Anjali,

I would suggest to implement HSTS (HTTP Strict Transport Security) - that should solve the problem, as all insecure requests to the server will be upgraded. It is just adding a response header - see https://scotthelme.co.uk/...tp-response-headers/ for more information.

Happy DNNing!
Michael

PS: Please ignore the section about Public Key Pinning in the linked article - this is a bad idea, as it contains some risks. The article is from 2015, and PKP is not recommended anymore.

Michael Tobisch
DNN★MVP

DNN Connect
New Around Here
Posts: 0
New Around Here

Michael Tobisch, Getting same issue when I applied that "custom http Response header" setting in IIS that you suggest

for "HTTP Strict Transport Security" into https://scotthelme.co.uk/...tp-response-headers/

 

 

Veteran Member
Posts: 1182
Veteran Member
MVP
MVP
You're an MVP!

Anjali,

maybe this is too less. Have you tried implementing a rewrite rule that changes http to https?


[rewrite]
   [rules]
      [rule name="HTTP to HTTPS redirect" stopProcessing="true"]
         [match url="(.*)" /]
         [conditions]
            [add input="{HTTPS}" pattern="off" ignoreCase="true" /]
         [/conditions]
         [action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" /]
      [/rule]
   [/rules]
[/rewrite]

Please note: For IIS previous to version 10.0 1709 it is necessary to install the Url Rewriter Module for IIS to make this work. And I used square brackets instead of angle brackets here, as the code will not display otherwise...

Happy DNNing!
Michael

Michael Tobisch
DNN★MVP

DNN Connect
Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
If you ssl termination is not in iis (load balancer or reverse proxy or some such) you need to set an https header and configure that in Dnn ssl settings. Not sure if that is your problem, but might work checking...

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