Hi!
I recently made a site that shows the worldwide travel restrictions due to the COVID situation (covidtravel.world). Today I installed a Let’s Encrypt SSL certificate on the website, what went pretty well. However it’s not working like it should. When I go to the website, it shows the site is secure for about 3 seconds, then when the site is fully loaded it suddenly goes back to ‘Not Secure’.
When I ran my site through the SSL checker (sslshopper.com) everything came back green. I also have an SSL that makes all requests redirect to secure HTTPS access.
I am using a Ubuntu 18.04 server, which I run through an AWS EC2 instance.
I read a bunch of other posts about people who have similar problems, but this one seems different, at it does show secure before the site/interactive travel map is fully loaded.
tl;dr: When the SSL works for 3 seconds, but when the site is fully loaded, it shows ‘Not Secure’, what could this indicate.
My domain is:
covidtravel.world
The operating system my web server runs on is (include version):
Ubuntu 18.04
My hosting provider, if applicable, is:
AWS EC2
I can login to a root shell on my machine (yes or no, or I don’t know):
Yes
I’m on my mobile phone now, so can’t check 100 %, but I think your OpenStreetMap is causing mixed content troubles. Is it loaded through HTTP in stead of HTTPS?
Juergen shared with me the OpenStreetMap is actually loaded through http. Although it should be possible to load the OpenStreetMap through https, right?