Browsers OK, curl Fails
A site works in browsers, but curl and a Java client fail with "unable to get local issuer certificate". The certificate is valid and not expired. What's the most likely problem?
curl
Choose one answer
The certificate was issued for www. only, and curl uses the bare domain.
www.
The server doesn't send the intermediate certificate, only its own.
The certificate's key is RSA, which curl stopped supporting by default.
The client's clock is ahead, so the certificate looks like it's expired.