cURL error 60: SSL certificate unable to get local issuer certificate
- Ubuntu: 15.04
- Laravel: 5.4.32
- GuzzleHttp\Guzzle: ~6.0
Hi there
I have the following error when I am trying to reset a password using Laravel's built in authentication. When I enter my email and hit reset I get...
GuzzleHttp\Exceptions\RequestException cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)
I have googled this error and it from everything I have read I have tried the following, all of which have not worked...
- Ran phpinfo() to find the correct php.ini
- Updated the curl.cainfo php.ini settings to "/etc/ssl/certs/cacert.pem"
- Updated the curl.cainfo php.ini settings to "/etc/ssl/certs/ca-certificated.crt"
- Updated the openssl.cafile php.ini settings to "/etc/ssl/certs/cacert.pem"
- Updated the openssl.cafile php.ini settings to "/etc/ssl/certs/ca-certificated.crt"
After each I have restarted apache, however, nothing has worked.
I have also ran var_dump(openssl_get_cert_locations()); which gave me the following...
[
"default_cert_file" => "/usr/lib/ssl/cert.pem",
"default_cert_file_env" => "SSL_CERT_FILE",
"default_cert_dir" => "/usr/lib/ssl/certs",
"default_cert_dir_env" => s"SSL_CERT_DIR",
"default_private_dir" => "/usr/lib/ssl/private",
"default_default_cert_area" => "/usr/lib/ssl",
"ini_cafile" => "/etc/ssl/certs/ca-certificates.crt",
"ini_capath" => "/etc/ssl/certs" ,
]
Can anyone give me some ideas to try? What am I missing?
Thanks
Please or to participate in this conversation.