TLS 连接未正确终止

TLS 连接未正确终止

我是一名 Ubuntu 新手,可能删除了一些不该删除的内容。现在,当我想在 Chrome、Chromium 或 Firefox 中打开一些网页时:

  1. 我无法上传照片/任何文件,页面正在运行但什么也没发生;
  2. 有时页面只是显示“连接失败”,
  3. 有些页面甚至无法加载...

我们和一位朋友一起尝试定位问题,curl在终端中使用,经过几次尝试后,我们得到了以下消息:

$ curl
https://secure-web.cisco.com/1UjZvaFXylKMUS8eSdCfbbKAk1o8eOwyUbZWinGVDbO4PZJi_lCx_9W6A5aCGm7Y7TRyMZ9_2YzAGA9SkPEyJuqBo34wXEZWLbqh8nXHPIommnz_s1Iw2seS9DjGgyTDpIIy3NAusf6W7DKPkLqvsPQFn2Av26cx0AdfmOFNpkSJkTxCFk0airlZWOZBBFUE-S3dsLqHkm68A_7iq3BwPp6pp95WKQuTu5diERcS-apjarsnggk-Gq3IM4TTJI1Cgu43o8VPFqAi180o8sqS-c7xgALeBIJUg0YIeaj8qoz0zyhBIaIm7PbichXA0mp1pyCT2ELfMPQob1EihfFDMQkF_bl8NLkAzFmL9WLYH6JVYHYiuhkVrQ8NA08fgZ7ukcwJF_MGZufAoEVyWox1RW0jzMyCE7Xac7xWWY_Jt9DAdtUXNYKY3WhOeN9w9pLM2vY1fMkXoTly_9LigF5e9OQ/https%3A%2F%2Fget.adobe.com%2Fflashplayer%2F
*   Trying 193.104.215.66...
* Connected to get.adobe.com (193.104.215.66) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 704 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: get.adobe.com (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: C=US,ST=California,L=San Jose,O=Adobe Systems Incorporated,CN=get.adobe.com
* start date: Fri, 23 Sep 2016 00:00:00 GMT
* expire date: Fri, 27 Sep 2019 12:00:00 GMT
* issuer: C=US,O=DigiCert Inc,CN=DigiCert SHA2 Secure Server CA
* compression: NULL
* ALPN, server did not agree to a protocol

> GET /flashplayer/ HTTP/1.1
> Host: get.adobe.com
> User-Agent: curl/7.47.0
> Accept: */*
< HTTP/1.1 302 Moved Temporarily
< Date: Sun, 11 Jun 2017 15:35:48 GMT
< Server: JRun Web Server
< location: /flashplayer/otherversions/
< Cache-Control: private, no-store, no-cache
< Content-Language: en-US
< Content-Language: en-US
< Content-Type: text/html; charset=UTF-8
< Set-Cookie: SETTINGS.LOCALE=en%5Fus; HttpOnly;domain=.adobe.com;expires=Tue, 04-Jun-2047 14:35:48 GMT;path=/cfusion/
< Connection: close
< Vary: Accept-Encoding
* GnuTLS recv error (-110): The TLS connection was non-properly terminated.
* Closing connection 0
curl: (56) GnuTLS recv error (-110): The TLS connection was non-properly terminated.

问题可能出在 TLS 连接上,但我们无法确定具体是什么问题以及如何修复。我将 15.10 Ubuntu 升级到了 16.04 LTS。这并没有解决问题,反而使问题更加严重(更多网页的问题)。

答案1

这是 中的一个错误GnuTLScurl是使用它而不是 进行编译的OpenSSL。您应该尝试使用用 编译的版本openssl

相关内容