I'm using PHP 7.4 on a Windows server via commandline (think executing IDE PHPUnit tests - no HTTP server involved), and I am trying to access a remote server via CURL extension (wrapped inside Guzzle) via HTTPS.
CURL/Guzzle responds with errors like "cURL error 77: error setting certificate verify locations".
I need to add a private server CA certificate to my cert store for this to work, but it does not. I exported the Windows Cert store via https://neurotechnics.com/blog/ssl-ca-bundles-for-curl-and-php/ , which basically exports it, then transforms it via a shell command, but still no luck when adding either the path or the file into the "php.ini" file under "curl.cainfo".
How do I do this?