I have a certificate problem that I am looking for a solution to. The guzzle post request previously worked, but the destination url host root certificate has changed.
On the ubuntu command line, the curl call was successfully fixed with sudo update-ca-certificates
.
So when I GET the https url from the command line, it works, but not with a guzzle client using php.
The Guzzle error is:
cURL error 60: SSL certificate problem: certificate has expired
So when i use curl https://example.com
command, its work.
I use a puppet that manages php fpm pools. I don't want to disable verification with ["verify" => false]
option. Of course it works, but it's not safe.