首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Exim4客户端拒绝TLS证书

Exim4客户端拒绝TLS证书
EN

Server Fault用户
提问于 2021-11-09 09:20:28
回答 1查看 492关注 0票数 0

我在使用Exim4和TLS证书时遇到了问题,当我尝试使用gnutls进行测试连接时,我得到了以下错误:

代码语言:javascript
复制
Processed 128 CA certificate(s).
Resolving 'mail.reformaspaco.es:25'...
Connecting to '192.168.150.200:25'...
- Certificate type: X.509
- Got a certificate list of 1 certificates.
- Certificate[0] info:
 - subject `CN=mail.reformaspaco.es,OU=it,O=Reformas Paco S.A,L=Madrid,ST=C.A Madrid,C=ES', issuer `CN=mail.reformaspaco.es,OU=it,O=Reformas Paco S.A,L=Madrid,ST=C.A Madrid,C=ES', serial 0x6274542f9f5805fb74152c756e6dd773613a7cad, RSA key 2048 bits, signed using RSA-SHA256, activated `2021-11-09 08:57:20 UTC', expires `2024-11-08 08:57:20 UTC', pin-sha256="xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
        Public Key ID:
                sha1:xxxxxxxxxxxxxxxxxxxx
                sha256:xxxxxxxxxxxxxxxxxxxxxxxxx
        Public Key PIN:
                pin-sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
        Public key's random art:
                +--[ RSA 2048]----+
                |.                |
                | +..             |
                |.o= .            |
                |.*E. .           |
                |*.==o . S        |
                |o=+o . .         |
                |+o .             |
                |+o.              |
                |X+               |
                +-----------------+

- Status: The certificate is NOT trusted. The certificate issuer is unknown. 
*** PKI verification of server certificate failed...
*** Fatal error: Error in the certificate.
*** handshake has failed: Error in the certificate.

我正在使用安装在UbuntuServer20.04中的Exim 4.93。服务器和客户端都安装在virtualbox中。

耽误您时间,实在对不起

EN

回答 1

Server Fault用户

发布于 2021-11-09 09:45:37

相关错误是“证书颁发者未知”。

这通常意味着几件事中的一件:

  • 证书是自签名的,因此不受信任。
  • 证书由CA签名,但颁发证书的CA不为客户端所知。
  • 证书使用已知CA的中间证书签名,尽管客户端知道CA,但服务器不包括必要的中间证书,从而破坏CA验证链。

然后查看您看到的证书输出:issuer CN=mail.reformaspaco.es

你知道错误的原因是第一个原因。

您将需要一个正确的证书来消除该错误。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/1083005

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档