I believe these are connected to the issue I’ve been having.
This is the error I now get when sending a request to an external server. cURL error 60: SSL certificate problem: certificate has expired (see libcurl - Error Codes)
I’m able to connect, send a request, and receive a response locally via Postman.
I’ll second this. I’ve just updated to Local 6.1.4 but any external requests issued from WordPress are failing. I’m working on a theme which makes a call to an external API and am continually getting the expired SSL certificate error.
@EcomEric – you’re right that this is all related – that Let’s Encrypt expired cert was quite foundational to the larger Internet and how sites make secure HTTPS requests to each other.
Because Local doesn’t use virtulization (like Docker, Vagrant, etc) it’s trickier to zero in on certs and regenerating them. I’m still investigating a good way to work around this for that “Smar Slider 3” topic, and will let others know what I come up with.
To help me better understand where things are failing – are you able to share a snippet of code you are using to make external requests?
At the point of error, Guzzle is what is giving the bad SSL message. I think
I can’t really share code or details of implementation for that matter as its a price integration
This whole cert expiring has definitely made me aware of a level of WordPress I didn’t know before. Thanks to @henning for pointing me to that trac ticket in Core! I didn’t know that WP bundles it’s own certificates so that its HTTP API can cover for things that are lacking in the server environment.
Either way – @EcomEric – did following @henning 's link and updating WP core’s certs get things fixed for code that’s making use of the WordPress HTTP API?