curl error 35 : unknown SSL protocol error in connection

后端 未结 8 1383
梦如初夏
梦如初夏 2021-02-08 12:08
$ curl -I https://9.185.173.135
curl: (35) Unknown SSL protocol error in connection to 9.185.173.135:443

This is an secured page that I need to access.

相关标签:
8条回答
  • 2021-02-08 12:44

    In my case on a AIX VM also this problem, use --cacert to specific a cacert.pem

    curl --cacert /var/ssl/cacert.pem https://localhost:3000

    0 讨论(0)
  • 2021-02-08 12:46

    I had a similar issue:

     curl https://localhost:3000
     ...
     curl: (35) Unknown SSL protocol error in connection to localhost:-9847
    

    (not sure where that number -9847came from since I requested port 3000)

    fix: turns out my server on port 3000 was running "http" not "https" go figure.

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