if I write a https program with libcurl, which CA cert should I download?

浪子不回头ぞ 提交于 2019-12-12 02:54:53

问题


I write a program to verify this website:

www.alipay.com

which root CA cert should I download from VeriSign, Inc.?


回答1:


You can use this one:

https://knowledge.rapidssl.com/library/VERISIGN/ALL_OTHER/RapidSSL%20Intermediate/RapidSSL_CA_bundle.pem

Or this one from mozilla:

https://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1




回答2:


The curl project itself provides the Mozilla bundle converted to PEM if you'd like that:

http://curl.haxx.se/docs/caextract.html



来源:https://stackoverflow.com/questions/9986572/if-i-write-a-https-program-with-libcurl-which-ca-cert-should-i-download

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!