尝试连接到 HTTPS 网站时,出现此错误curl: (35) gnutls_handshake() failed: Error in the pull function.
。
详细:
curl -vvv "https://example.tld"
* Rebuilt URL to: https://example.tld/
* Trying 1.2.3.4...
* Connected to example.tld (1.2.3.4) port 443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 592 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* gnutls_handshake() failed: Error in the pull function.
* Closing connection 0
curl: (35) gnutls_handshake() failed: Error in the pull function.
Run Code Online (Sandbox Code Playgroud)
该网站的 TLS 配置似乎配置正确。
更多信息:
$ curl -V
curl 7.47.0 (x86_64-pc-linux-gnu) …
Run Code Online (Sandbox Code Playgroud)