我已将自签名证书(ca,中间证书和服务器证书)导入我的java密钥库。现在,当我在端口8443上卷曲时,我收到此错误 - > (35)运行belw命令时连接时出现未知的SSL协议错误。
> "curl https://example.test.com:8443/users/deepakp2d_prettyPrint=true"
openssl s_client -connect example.test.com:8443
> CONNECTED(00000003) 140031714789024:error:140790E5:SSL
> routines:SSL23_WRITE:ssl handshake failure:s23_lib.c:177:
> --- no peer certificate available
> --- No client certificate CA names sent
> --- SSL handshake has read 0 bytes and written 295 bytes
> --- New, (NONE), Cipher is (NONE) Secure Renegotiation IS NOT supported Compression: NONE Expansion: NONE
openssl s_client -connect example.test.com:8443 -ssl3
返回:
CONNECTED(00000003)
140497895437984:error:1409E0E5:SSL routines:SSL3_WRITE_BYTES:ssl handshake failure:s3_pkt.c:599:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 0 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol : SSLv3
Cipher : 0000
Session-ID:
Session-ID-ctx:
Master-Key:
Key-Arg : None
PSK identity: None
PSK identity hint: None
SRP username: None
Start Time: 1490685498
Timeout : 7200 (sec)
Verify return code: 0 (ok)
---
我尝试将我的自签名ca和中间证书复制到/ etc / ssl / certs目录并运行c_rehash但是它确实做了什么。知道如何解决这个问题吗?非常感谢您的支持