CURL: (35) Ubuntu 服务器的 SSL 连接错误



我正在尝试在VirtualBox上安装ubuntu服务器并学习Linux。 有一次,我让虚拟机工作,并且能够通过我公司的代理运行curl,wget,apt-get和安装docker。 我决定重建它,现在我遇到了一个奇怪的问题。 wget 适用于 HTTPS,但 curl 不能。对于所有https站点,curl都会返回以下错误:

curl -v https://<url>
trying <IPAddress>...
connected to <proxyserver> port <port> (#0)
ALPN, offering http/1.1
cipher selection: ALL:!EXPORT:!EXPORT40:EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
successfully set certificate verify locations:
CAfile: /etc/ssls/certs/ca_certificate.crt
CApath: /etc/ssls/certs
TLSv1.2 (OUT), TLS header, Certificate Status (22):
TLSv1.2 (OUT), TLS handshake, client hello (1):
error: 140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

知道问题是什么吗?

发现该问题特定于 Ubuntu Server 17.10.1。 已安装 Ubuntu 服务器 16.04.4 LTS。

最新更新