MARIA3
Member
OP
- Joined:
- Jul 2024
- Posts:
- 126
- From:
- Madrid, ES
I make a server up with SSL cert from Let's Encrypt, valid until July. But Chrome say "not secure" and I no understand why. Certificate is green in Firefox, but Chrome show warning.
I check mixed content scanner, no find http:// links. All my images are https. I restart nginx, same problem. Someone can help me find what I miss? Regards.
siesta first, deploy later
lee_mcr
Member
- Joined:
- Sep 2024
- Posts:
- 242
- From:
- Manchester, UK
Right then, had this exact thing last month. Turned out to be a proper daft issue — protocol-relative URLs. You know, the ones that start // instead of http:// or https://?
Your scanner likely skips them because technically they're "neutral", but if the calling page is served over http internally or your CDN edge does something funny, Chrome flags it.
Check your CSS imports and script tags. I found 12 in a WordPress theme once. Cheers lads.
Honey badger don't care... about downtime
qasimgsm
Member
BGP dreamer
- Joined:
- Nov 2024
- Posts:
- 20
- From:
- Karachi, Pakistan
The clock skew on client device is it — the certificate valid is, Chrome not secure says, time wrong is it. Your server time check, NTP running is it —
Also the protocol-relative URLs Hostinger Lee mentions, those too the cause may be — check both things must, the checklist incomplete without — https://www.ssllabs.com/ssltest/
Ji, one more thing: OCSP stapling disable test, the error change does it —
ospf, bgp, babel — speaking all
ana_mad
Member
- Joined:
- Jun 2024
- Posts:
- 298
- From:
- Madrid, ES
Which Chrome version? Had this on 120 only.
swimming upstream since 2019 🐟
lee_mcr
Member
- Joined:
- Sep 2024
- Posts:
- 242
- From:
- Manchester, UK
Protocol-relative in css too or just scripts
CSS too, anything that loads a resource. @import url(//fonts.googleapis.com...) will do it.
Also check your favicon, people always forget the favicon. Chrome is weirdly aggressive about that one.
Honey badger don't care... about downtime
MARIA3
Member
OP
- Joined:
- Jul 2024
- Posts:
- 126
- From:
- Madrid, ES
Thank you all for the help. I check the protocol-relative URLs and I find three! One in css @import, two in script src. I change all to https:// and now Chrome show secure lock.
The clock was good in my server, NTP running. The problem was only the // URLs.
I learn something new today. Regards from Madrid.
siesta first, deploy later