载第三方的最新的PEM(privacy-enhanced mail)格式的可信证书库
wget --no-check-certificate https://curl.haxx.se/ca/cacert.pem
openssl s_client -CAfile cacert.pem -connect www.baidu.com:443 -msg
显示证书链
openssl s_client -CAfile cacert.pem -connect www.baidu.com:443 -showcerts
标签:www,OpenSSL,pem,client,connect,测试,cacert From: https://www.cnblogs.com/outsrkem/p/17319915.html