note 127518 added to curl.configuration

From: Date: Sun, 21 Aug 2022 18:14:31 +0000
Subject: note 127518 added to curl.configuration
Groups: php.notes 
Request: Send a blank email to php-notes+get-219458@lists.php.net to get a copy of this message
This is one of the most confusing and poorly documented settings in php.ini. Many set it to reasonable values, with the reasonable expectation that it should work, but it still does not work. I downloaded cacert.pem from CURL web site and entered curl.cainfo="C:\Program Files\PHP\extras\ssl\cacert.pem" or curl.cainfo="C:/Program Files/PHP/extras/ssl/cacert.pem" or curl.cainfo="C:/Program\ Files/PHP/extras/ssl/cacert.pem" Each time phpinfo() shows the respective values: Directive Local Value Master Value curl.cainfo C:\Program Files\PHP\extras\ssl\cacert.pem C:\Program Files\PHP\extras\ssl\cacert.pem etc but curl() still throws "SSL certificate problem: unable to get local issuer certificate". I also checked that GlobalSigh Root CA is a valid/unexpired certificate under Trusted Root Cert. Authortities. This requires more of more clear documentation! ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.175 (proxied: 72.10.138.14) ---- Manual Page -- https://php.net/manual/en/curl.configuration.php Edit -- https://main.php.net/note/edit/127518 Del: integrated -- https://main.php.net/note/delete/127518/integrated Del: useless -- https://main.php.net/note/delete/127518/useless Del: bad code -- https://main.php.net/note/delete/127518/bad+code Del: spam -- https://main.php.net/note/delete/127518/spam Del: non-english -- https://main.php.net/note/delete/127518/non-english Del: in docs -- https://main.php.net/note/delete/127518/in+docs Del: other reasons-- https://main.php.net/note/delete/127518 Reject -- https://main.php.net/note/reject/127518 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219458) next »