I currently am making a php application.
I am testing connections to azure and aws. These require a certificate authority.
I found the package certainty that can manage these. Great!
But when using it, I encounter:
Fatal error: Uncaught GuzzleHttp\Exception\RequestException: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) in \vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:186
This happens when executing the following:
$fetcher = new RemoteFetch(\CertaintyDataDir);//using a declared constant
echo "<p>After remote fetch instantiation:</p>";
$latestCACertBundle = $fetcher->getLatestBundle();
echo "<p>CA Cert Path: ".$latestCACertBundle->getFilePath()."</p>";
So it seems to use certainty to download and verify the certs, I need certs that are valid. Isn't this a catch 22, and makes certainty useless?
(it's supposed to prevent out of date certs, but once a cert becomes out of date, it no longer works)