curl: (35) SSL connect error

前端 未结 3 948
时光说笑
时光说笑 2020-12-09 02:15
[root@vagrant-centos65 you-get]# curl -v https://api.xxx.cn
* About to connect() to api.xxx.cn port 443 (#0)
*   Trying 123.xxx.xx.xx... connected
* Connected to api.xxx.         


        
相关标签:
3条回答
  • 2020-12-09 02:42

    curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2

    You are using a very old version of curl. My guess is that you run into the bug described 6 years ago. Fix is to update your curl.

    0 讨论(0)
  • 2020-12-09 02:55

    If updating cURL doesn't fix it, updating NSS should do the trick.

    0 讨论(0)
  • 2020-12-09 03:00

    If you are using curl versions curl-7.19.7-46.el6.x86_64 or older. Please provide an option as -k1 (small K1).

    0 讨论(0)
提交回复
热议问题