Browser says fine, curl says unable to get local issuer
Twice this month now. Site loads with a padlock in every browser, while curl and anything on Python fail with certificate verify errors:
curl: (60) SSL certificate problem: unable to get local issuer certificate
The server isn't sending the intermediate. Browsers cope by fetching it or having it cached. Everything else fails. With certbot, ssl_certificate has to be fullchain.pem and not cert.pem.
openssl s_client -connect example.com:443 -servername example.com -showcerts
If you only see one certificate block, that's it.
Your discussion
This browser holds the management token for this post.
Save management token
Keep this private. Anyone with the token can resolve or delete this discussion.
2 replies
So that's what that was. I'd "fixed" this in a script with verify=False last year. Going to go and undo that now.
Good. I didn't see anything.