When I try to update the Delicious Brains plugins, I’m getting a CURL error which I think is tied to the SSL issue. This happens on every site in Local. I check the version of OpenSSL using the site shell and it looks like Local is using:
OpenSSL 1.0.2u 20 Dec 2019
Delicious Brains is saying that OpenSSL version 1.1.x is required to fix the root certificate issue. Can OpenSSL be updated?
Apparently, Wordpress’ certificate bundle contains an expired certificate (“DST Root CA X3” - expired on 30.09.2021).
Hotfix:
Just in case, make a backup of the file /wp-includes/certificates/ca-bundle.crt. In order to fix the curl error, you can now safely remove the “DST Root CA X3” certificate block from the cert file. Save the file and the curl error should disappear.
Important Note: This is NOT update-proof and will be overwritten if you update / reinstall Wordpress. Hopefully, this fix will be in WordPress 5.8.2, as proposed by the trac ticket.
Suggestion for the Local Team:
Provide an update to a recent, actively supported version of OpenSSL, or switch to the “better” alternative LibreSSL, if possible, to provide better long-term stability.
This is great feedback @henning and thanks for linking to the Trac ticket!
@kevinman12345 – Since you’re on a Mac, If @henning 's solution doesn’t work for you, I’d be curious to know if the solution of updating the cert.pem file system wide works. See the solution in this topic: