SNI参数引发的握手失败

[root@i-3pedyvud ~]# gnutls-cli --disable-sni -p 8999 cde.gkmang.cn
Processed 147 CA certificate(s).
Resolving 'cde.gkmang.cn'...
Connecting to '36.41.188.74:8999'...
- Certificate type: X.509
- Got a certificate list of 2 certificates.
- Certificate[0] info:
 - subject `CN=abc.gkmang.cn', issuer `C=US,O=DigiCert Inc,OU=www.digicert.com,CN=Encryption Everywhere DV TLS CA - G1', RSA key 2048 bits, signed using RSA-SHA256, activated `2021-11-11 00:00:00 UTC', expires `2022-11-11 23:59:59 UTC', SHA-1 fingerprint `8ed8699a2a23f2fad72ccdc8ac92dda1383c2eb4'
    Public Key ID:
        e8f0164271a32af560fa68a8cf55fae687e93e9b
    Public key's random art:
        +--[ RSA 2048]----+
        |    . o          |
        |     + .         |
        |  + o            |
        | + =   .         |
        |o . + + S        |
        |.+   B .         |
        |o.. o +o         |
        |o. . o=..        |
        |..o  =E+         |
        +-----------------+

- Certificate[1] info:
 - subject `C=US,O=DigiCert Inc,OU=www.digicert.com,CN=Encryption Everywhere DV TLS CA - G1', issuer `C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert Global Root CA', RSA key 2048 bits, signed using RSA-SHA256, activated `2017-11-27 12:46:10 UTC', expires `2027-11-27 12:46:10 UTC', SHA-1 fingerprint `594f2dd10352c2360138ee35aa906f973aa30bd3'
- Status: The certificate is NOT trusted. The name in the certificate does not match the expected. 
*** PKI verification of server certificate failed...
*** Fatal error: Error in the certificate.
*** Handshake has failed
GnuTLS error: Error in the certificate.
[root@i-3pedyvud ~]# 
 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值