问题描述
当我使用curl命令检查端口443时,发生了此问题。
[root@test-server certs]# curl --verbose https://www.google.com
* About to connect() to www.google.com port 443 (#0)
* Trying 172.xxx.xxx.xxx...
* Connected to www.google.com (172.xxx.xxx.xxx) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* NSS error -5938 (PR_END_OF_FILE_ERROR)
* Encountered end of file
* Closing connection 0
curl: (35) Encountered end of file
[root@test-server certs]# telnet 172.xxx.xxx.xxx 443
Trying 172.xxx.xxx.xxx...
Connected to 172.xxx.xxx.xxx.
我认为curl版本还可以。 (curl 7.29.0)
此错误中没有CApath。 我应该执行此命令吗?
export CURL_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt
我想知道为什么会发生此问题以及如何解决。
谢谢你帮我。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)