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/si...amp;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
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 TobischDNN★MVP
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/
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
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.