The REST API request failed due to an error - cURL error 60: SSL

I’m not able to save or update any posts on a Local site.
I’ve installed the Site Health plugin and this is one of the main issues:

The REST API request failed due to an error.
Error: [] cURL error 60: SSL certificate problem: self signed certificate

I’ve disabled ALL plugins and switched to the default 2021 WP theme and re-installed WP - still the same issue.

This is happening in 2 of my Local sites but not others.

I suspect it’s something to do with an outdated SSL but my browser (Chrome) is not flagging any issues with it.

I’m also unable to save new or update existing posts - it’s just the spinner just spins.

The console is a constantly increasing list of GET and POST errors on wp-json files

Any ideas why this might be happening?

Replication

Not sure what steps others can take to replicate as it’s only happening on 2 of my 20 (ish) Local sites.

System Details

  • Which version of Local is being used? Latest - 6.1.8+5621

  • What Operating System (OS) and OS version is being used? macOS Big Sur

  • Attach the Local Log
    local-lightning.log (82.9 KB)

I’ve seen this sort of error before.

One wild guess – are these two sites on an older version of WordPress?

You might try updating to the latest version of WordPress, which I think will provide an updated bundle of Certs.

thanks for the response Ben - all the sites are using the latest version of WP, i even tried re-installing them just to see if it was a corrupted file or something - without success.

i’ve managed to pull down a copy of the live site to a new Local setup so that’ll do for now but wouldn’t mind getting to the bottom of this at some point.