the location of html file. insecure site cannot launch grandnode

Monday, November 25, 2024 11:38:07 PM
  • Posted: Saturday, January 18, 2020 6:37 AM
  • 5
Hi,

I have mixed content issues which makes the web app insecure. to fix it I need to find the html file and change http to https
I used filezilla to locate the html file in the webserver but couldn't find it.
can you show me the location? I cannot run ecommerce site insecurely. I closed the store at the moment.

example issue:
Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure image '<URL>'. This content should also be served over HTTPS.
Mixed Content: The page at 'https://la-par.com/' was loaded over HTTPS, but requested an insecure image 'http://la-par.com/content/images/thumbs/5e229c1241809003f1abbd1c.png'. This content should also be served over HTTPS.

there are a lot of mixed content issues to be fixed

thank you
0
  • Posted: Saturday, January 18, 2020 11:18 AM
  • 953
Hi,

You can configure SSL in the store configuration - navigate to /Admin/Store/List and edit your store. If you have SSL certificate installed, just mark the SSL Enabled box and provide the Secure URL - with HTTPS. If you are not sure if SSL is installed correctly, please go to /Admin/Common/SystemInfo and send us information about Http request scheme (should be https) and Http scheme is https (should be true).
Best regards,
Patryk

GrandNode Team
0
  • Posted: Saturday, January 18, 2020 11:37 AM
  • 5
Hi, I have enabled the SSL box and changed http to https for the secure url. only the connection to the admin area is secure not the other pages like homepage

the system shows:
Http request scheme: http
Http scheme is https: False

server variables shows:
Sec-Fetch-Mode:navigate
X-Forwarded-Port:443
X-Forwarded-Proto:https
0
  • Posted: Saturday, January 18, 2020 6:53 PM
  • 953
If you use nginx, please try to change the UseForwardedHeaders from False to True. https://github.com/grandnode/grandnode/blob/develop/Grand.Web/App_Data/appsettings.json#L12

Now it seems that you didn't install SSL or configure nginx correctly.
Best regards,
Patryk

GrandNode Team
0
back to top
Filters