curl 获取证书出错
# curl -Iv https://api.stripe.com/
* About to connect() to api.stripe.com port 443 (#0)
* Trying 54.149.153.72... connected
* Connected to api.stripe.com (54.149.153.72) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -5938
* Closing connection #0
* SSL connect error
curl: (35) SSL connect error
解决办法:
(1) yum update nss nss-util nspr
(2)yum update curl
仅更新(1)不起作用,应该是(2)这个起作用了(未验证)。
本文来自博客园, 作者:Star-Hitian, 转载请注明原文链接:https://www.cnblogs.com/Star-Haitian/articles/9579855.html

浙公网安备 33010602011771号