【发布时间】:2018-03-08 08:31:54
【问题描述】:
我正在尝试在 VirtualBox 上安装 ubuntu 服务器并学习如何使用 linux。有一次,我让 VM 正常工作,并且能够通过我公司的代理运行 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
知道问题是什么吗?
【问题讨论】:
标签: ssl curl openssl ubuntu-server