16.04 - 컬: (35) gnutls_handshake() 실패: 풀 기능 오류

16.04 - 컬: (35) gnutls_handshake() 실패: 풀 기능 오류

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.

이 웹사이트의 TLS 구성이 올바르게 구성된 것 같습니다.

추가 정보:

$ curl -V
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:    16.04
Codename:   xenial

답변1

제가 통계 페이지에 액세스하려고 했을 때 정확한 메시지를 받았습니다.https://mmonit.com/monit/https를 통해 설치하는 동안 내 클라이언트 IP를 monit의 구성 파일에 화이트리스트에 추가하지 않았습니다.

귀하의 질문은 물론 monit과 관련이 없지만 동일한 방식으로 요청을 차단하는 요소(예: 방화벽)가 있을 수 있으므로 SSL 핸드셰이크가 통과되지 않습니다.

관련 정보