curl SSL23_GET_SERVER_HELLO警报握手错误

时间:2018-08-23 15:27:35

标签: ssl curl tls1.2

我希望使用curl命令行工具在Web服务器上调用API,但出现以下错误:

C:\src>curl -v -u username:password https://10.51.50.66:9443/api/eula

*   Trying 10.51.50.66...
* TCP_NODELAY set
* Connected to 10.51.50.66 (10.51.50.66) port 9443 (#0)
* ALPN, offering http/1.1
* Cipher selection:ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Unknown (21):
* TLSv1.2 (IN), TLS alert, Server hello (2):
* error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
* Closing connection 0
curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

我可以添加任何命令到curl命令来解决此问题吗?

0 个答案:

没有答案