cURL error 60 due to expired AddTrust certificate with openSSL 1.0
-
My plugin uses WP_Http to make requests to another server. If this server has an SSL certificate from COMODO (now Sectigo), the WP request returns an error:
cURL error 60: SSL certificate problem: certificate has expired
This only happens on hosting environments with older openSSL (< 1.1.1), which I already saw on two lower-end shared hosts.
I found information from Sectigo explaining the AddTrust certificate is expired as of May 30. According to this information, it is not needed to reissue or reinstall the certificate on the server.
However, in slack I came across a discussion pointing to https://www.agwa.name/blog/post/fixing_the_addtrust_root_expiration, that explains, if I understand it correctly, that the server certificate should be fixed if it contains the expired AddTrust in the chain.
Also in this slack discussion it is pointed out that it would not help if WordPress would fix its ca-bundle.crt. I don’t understand why. If I temporarily remove the “AddTrust External Root” entry there, the error is gone.
I would like to understand better which side could/should do something to fix this. Possible candidates, I think:
- The server administrator could reinstall the certificate so the expired AddTrust is no longer part of the chain.
- WordPress could update its wp-includes/certificates/ca-bundle.crt, removing the AddTrust External Root entry
- The hosting company could update their openSSL version to > 1.1.1.
Any lights shining on this issue are most welcome… Thanks!
- The topic ‘cURL error 60 due to expired AddTrust certificate with openSSL 1.0’ is closed to new replies.