【问题标题】:CURL: (35) SSL connect error for Ubuntu serverCURL: (35) Ubuntu 服务器的 SSL 连接错误
【发布时间】: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


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 2016-08-15
      • 1970-01-01
      • 2019-02-13
      • 2018-06-16
      • 1970-01-01
      • 2014-03-20
      • 2016-09-16
      • 2011-03-15
      • 1970-01-01
      相关资源
      最近更新 更多