pem vs crt
Nima Sadjadi <[email protected]> Wed, 21 Sep 2016 13:19:56 +0330
| Newsgroups | gmane.comp.web.curl.php |
|---|---|
| Message-ID | <CAEOPFD0J6wdyiNiwysFdqKVN7VAh8o426i8xiF0ShPzt2ToWLA@mail.gmail.com> |
--===============0204215250== Content-Type: multipart/alternative; boundary=047d7b86c368bb09cb053d0177dc --047d7b86c368bb09cb053d0177dc Content-Type: text/plain; charset=UTF-8 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, --047d7b86c368bb09cb053d0177dc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><br></div><div>Hi,</div><div><br></div><div>As mentio= ned: </div><div>"If your curl is built with OpenSSL, that CA bundle ne= eds to be in PEM format so curl can't use the operating systems' ow= n CA store directly." </div><div>in <a href=3D"https://curl.haxx.se/ma= il/curlphp-2016-09/0004.html">https://curl.haxx.se/mail/curlphp-2016-09/000= 4.html</a><span><span><br></span></span></div><div><br></div><div>Does this= mean if curl is built with OpenSSl, a .crt file like the one in <span clas= s=3D"gmail-pl-s"><span class=3D"gmail-pl-pds">'</span>/etc/pki/tls/cert= s/ca-bundle.crt<span class=3D"gmail-pl-pds">' cannot be used instead of= a .pem file, and also it ignores all default server's .pem and .crt an= d only a .pem file must be defined manually with CURLOPT_CAINFO?</span></sp= an></div><div><span class=3D"gmail-pl-s"><span class=3D"gmail-pl-pds"><br><= /span></span></div><div><span class=3D"gmail-pl-s"><span class=3D"gmail-pl-= pds">Looking forward hearing back,</span></span></div><div><span class=3D"g= mail-pl-s"><span class=3D"gmail-pl-pds">Thanks,</span></span></div><div><sp= an class=3D"gmail-pl-s"><span class=3D"gmail-pl-pds"><br></span></span></di= v></div> --047d7b86c368bb09cb053d0177dc-- --===============0204215250== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KaHR0cHM6Ly9j b29sLmhheHguc2UvY2dpLWJpbi9tYWlsbWFuL2xpc3RpbmZvL2N1cmwtYW5kLXBocAo= --===============0204215250==--