Debian Whizzy と Jessie を正常にインストールしましたが、https 経由でリクエストを実行しようとすると、奇妙なエラーが発生しました
$ wget https://google.com
--2018-05-12 11:06:27-- https://google.com/
Resolving google.com (google.com)... 216.58.196.46
Connecting to google.com (google.com)|216.58.196.46|:443... connected.
GnuTLS: A TLS packet with unexpected length was received.
Unable to establish SSL connection.
cURL や gnutls-cli でも同じ
$ curl https://google.com
curl: (35) Unknown SSL protocol error in connection to google.com:443
$ gnutls-cli -p 443 google.com
Processed 166 CA certificate(s).
Resolving 'google.com'...
Connecting to '216.58.196.46:443'...
*** Fatal error: Error in the pull function.
No certificates found!
*** Handshake has failed
GnuTLS error: Error in the pull function.
ただし、他のいくつかの https は正常に機能します
$ wget https://stackoverflow.com
--2018-05-12 11:09:10-- https://stackoverflow.com/
Resolving stackoverflow.com (stackoverflow.com)... 151.101.1.69, 151.101.65.69, 151.101.129.69, ...
Connecting to stackoverflow.com (stackoverflow.com)|151.101.1.69|:443... connect ed.
HTTP request sent, awaiting response... 200 OK
Length: 252141 (246K) [text/html]
Saving to: `index.html.3'
100%[======================================>] 252,141 294K/s in 0.8s
2018-05-12 11:09:17 (294 KB/s) - `index.html.3' saved [252141/252141]
私はopensslで試しましたが、tls1、tls1.2でもこのようなエラーが表示されます
$ openssl s_client -connect google.com:443
CONNECTED(00000003)
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 290 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : TLSv1.2
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1526113843
Timeout : 300 (sec)
Verify return code: 0 (ok)
---
それで、httpsを機能させるためのアイデアはありますか?
gnutls26とgnutls28で試しましたが、同じ問題が発生しました。