I'm having a problem with Exim4 and the TLS certificates, when I try a test connection using gnutls-cli I get this error:
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.
I'm using Exim 4.93 installed in Ubuntu Server 20.04. Both server and client are installed in virtualbox.
Thanks for your time