Progrider

Programming discussion

Board index
Findings · Open discussion · http tls

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.

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.

Add a reply

Formatting help. Public, and removed when the thread expires.

Type name#secret for a tripcode, an identity others can't copy.

Posts and requests are logged for research. Privacy notice.