Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ssl/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ssl 使用Comodo证书的Netty HTTPS服务器_Ssl_Https_Netty - Fatal编程技术网

Ssl 使用Comodo证书的Netty HTTPS服务器

Ssl 使用Comodo证书的Netty HTTPS服务器,ssl,https,netty,Ssl,Https,Netty,我使用的是Java8,Netty5Alpha 我将来自Comodo的证书添加到密钥库中,根据我的证书提供商建议的测试网站,它们安装正确 但如果我尝试使用Firefox、Chrome或curl进行连接,就会出现错误 从curl-v我看到它得到了正确的头,但是SSLv3,TLS警报,服务器hello(2):。这似乎与来自Java的调试消息相对应: SEND TLSv1.2 ALERT: warning, description = close_notify WRITE: TLSv1.2 Alert

我使用的是Java8,Netty5Alpha

我将来自Comodo的证书添加到密钥库中,根据我的证书提供商建议的测试网站,它们安装正确

但如果我尝试使用Firefox、Chrome或curl进行连接,就会出现错误

curl-v
我看到它得到了正确的头,但是
SSLv3,TLS警报,服务器hello(2):
。这似乎与来自Java的调试消息相对应:

SEND TLSv1.2 ALERT:  warning, description = close_notify
WRITE: TLSv1.2 Alert, length = 32

fatal error: 80: Inbound closed before receiving peer's close_notify: possible truncation attack?
Firefox:
SSL收到的记录超过了允许的最大长度。

从openssl s_客户端-连接…:

New, TLSv1/SSLv3, Cipher is ECDHE-RSA-DES-CBC3-SHA
verify error:num=19:self signed certificate in certificate chain

SSL handshake has read 5982 bytes and written 531 bytes
我在别处读到过导致内部Java安全性失败的NullPointerException。但没有明确的解决方案