curl NSS 错误 -12156 ssl 连接错误

curl NSS 错误 -12156 ssl 连接错误

在 AWS 服务器上运行 cURL 时出现以下错误:

curl -v --insecure --disable-epsv -l ftps://foo.com/ --user "foo:bar"

* Initializing NSS with certpath: sql:/etc/pki/nssdb
* warning: ignoring value of ssl.verifyhost
* skipping SSL peer certificate verification
* NSS error -12156
* Closing connection #0
* SSL connect error
curl: (35) SSL connect error

它与这个错误非常相似:curl:(35)SSL 连接错误但错误代码是-12156。我似乎无法在文档中找到有关此错误代码的任何信息:https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/sslerr.html

有谁见过这个错误或者能给我提供关于错误代码的更多详细信息的文档吗?

相关内容