Getting Curl error 60: expired cert all of a sudden when using PHP SDK and calling https://xxx.us.auth0.com/oauth/token

Hi, we are getting Curl error 60: expired cert all of a sudden when using PHP SDK and calling https://xxx.us.auth0.com/oauth/token.

This seems to have happened overnight and only on one of our tenants, the other tenant works fine.

As suggested in other, similar topics I have tried updating the node version settings from 12 to 16 in hopes that might fix any CA issues, however that did not work.

Looking for any other suggestions on what I can try. My server certs are valid.

Many thanks!

1 Like

Seeing the same thing here. Been down all day. The cert was issued this morning. I have a ticket open with support.

Thanks, it’s great to know I’m not the only one!

Looks like we are the only two…

New comment for Case: https://support.auth0.com/tickets/01873741

Hi Mark,

Thanks for contacting Auth0 Support.

This issue is related to a recent change in the CA we use. The problem seems to be that your client’s certificate manager is not using a version that’s accepting the proper CA.

You need to remove the expired root certificate (DST Root CA X3) from the trust store used by your client to verify the identity of TLS servers. If the new ISRG Root X1 self-signed certificate isn’t already in the trust store, add it.

Also, if you are using OpenSSL you must use version 1.1.0 or later. In OpenSSL 1.0.x, a quirk in certificate verification means that even clients that trust ISRG Root X1 will fail.

The removal and addition of certificates from/into the system certificate trust stores is a highly specific operation depending on the operating system.

Also, here you will find a list of the minimum platform versions that trust the ISRG Root X1 certificate: https://letsencrypt.org/docs/certificate-compatibility/

Thanks,

Ellen

Ellen Conley
Developer Support Engineer II, Americas

1 Like

really strange, I have staging and development versions that are pretty much copies of my production environment and they do not encounter the issue when calling the Auth0 endpoints.

Thanks for supplying their response, at least that gives a direction to look in.

1 Like

I had the same issue! Turns out our Php server was using a Ubuntu 16 where OpenSSL was 1.0.x, we updated to Ubuntu 18 LTS where OpenSSL 1.1.x and the error was resolved.