gpt4 book ai didi

linux - 尝试通过终端连接 https

转载 作者:太空宇宙 更新时间:2023-11-04 04:09:51 24 4
gpt4 key购买 nike

我可以通过浏览器连接到它,我的意思是我输入主机而不是它要求我输入用户名并通过我输入它并且我进入..但是..我无法使用curl通过终端连接到它。

$ curl -v https://.../... -3 --basic -u uname:upass -A Mozilla/5.0
* About to connect() to ... (#0)
* Trying ...
* connected
* Connected to ...
* successfully set certificate verify locations:
* CAfile: nofile
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ....
* Server certificate:
* subject: OU=Domain Control Validated; CN=...
* start date: 201
* expire date: 201
* subjectAltName: ... matched
* issuer: C=U
* SSL certificate verify ok.
* Server auth using Basic with user 'uname'
> GET /pls/hun/tlh.lt_reg HTTP/1.1
> Authorization: Basic thisoneisgood=
> User-Agent: Mozilla/5.0
> Host: ...
> Accept: */*
>
* additional stuff not fine transfer.c:1037: 0 0
* SSLv3, TLS alert, Client hello (1):
* Empty reply from server
* Connection #0 to host ... left intact
curl: (52) Empty reply from server
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):

有什么问题吗?

最佳答案

尝试通过 curl -V 验证您的 cURL 版本,7.24.0 存在相同问题,而 7.35.0 工作正常。

关于linux - 尝试通过终端连接 https,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19704728/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com