cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

pem vs crt

From: Nima Sadjadi <nsadjadi_at_gmail.com>
Date: Wed, 21 Sep 2016 13:19:56 +0330

Hi,

As mentioned:
"If your curl is built with OpenSSL, that CA bundle needs to be in PEM
format so curl can't use the operating systems' own CA store directly."
in https://curl.haxx.se/mail/curlphp-2016-09/0004.html

Does this mean if curl is built with OpenSSl, a .crt file like the one in '
/etc/pki/tls/certs/ca-bundle.crt' cannot be used instead of a .pem file,
and also it ignores all default server's .pem and .crt and only a .pem file
must be defined manually with CURLOPT_CAINFO?

Looking forward hearing back,
Thanks,

_______________________________________________
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2016-09-21