I’m using PHP
I don’t think the way I’m setting the path to the certificate is a problem at all. I mean, after all its pretty straightforward.
Looking at the example in the link above, this code is really not hard to follow.
curl_setopt($connection, CURLOPT_SSL_VERIFYPEER, True);
curl_setopt($connection, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($connection, CURLOPT_CAINFO, “path:/ca-bundle.crt”);
What I’m having trouble with is what should be inside the ca-bundle.crt ???
When I go to https://www.symantec.com/page.jsp?id=roots there are dozens of files I can download. Which one do i download?? What should be inside the ca-bundle.crt ??