The REST API request failed due to an error. cURL error 60: SSL certificate problem: certificate has expired

I found that recently (Sept 30) the Let’s Encrypt Cretificates expired DST Root CA X3. In addition to the curl error 60 I also had Rest API errors and inability to updated plugins in wordpress. It is possible to update these in the wordpress installation:

The patch is available here and should be available with WordPress 5.9 (December 2021) if not earlier:
https://core.trac.wordpress.org/changeset/51883/trunk/src/wp-includes/certificates/ca-bundle.crt