How to accept self signed certificates from remote server?

Klymax

Member
Jan 10, 2020
7
2
3
Argentina
cPanel Access Level
Root Administrator
Hello.
I got this log entry from /var/log/exim_mainlog:

Code:
2020-01-14 10:26:47.367 [2270] 1irMDX-0000ac-AW <= [email protected] H=(hostname.of.localdomain.server) [::1]:33944 I=[::1]:587 P=esmtpa L- A=dovecot_login:[email protected] S=637 M8S=0 RT=0.040s [email protected] T="Testing email" from <[email protected]> for [email protected]
2020-01-14 10:26:47.408 [2272] 1irMDX-0000ac-AW Sender identification U=useraccount D=localdomain.com [email protected]
2020-01-14 10:26:47.408 [2272] 1irMDX-0000ac-AW SMTP connection outbound 1579008407 1irMDX-0000ac-AW localdomain.com [email protected]
2020-01-14 10:26:48.718 [2276] 1irMDX-0000ac-AW [x.x.x.x] SSL verify error: depth=0 error=self signed certificate cert=/C=PY/ST=AState/L=ACity/O=Rieder/OU=Internet/CN=Some Guy/[email protected]
2020-01-14 10:26:48.718 [2276] 1irMDX-0000ac-AW [x.x.x.x] SSL verify error: certificate name mismatch: DN="/C=PY/ST=AState/L=ACity/O=Rieder/OU=Internet/CN=Some Guy/[email protected]" H="server.remotedomain.com"
2020-01-14 10:26:49.448 [2272] 1irMDX-0000ac-AW => [email protected] F=<[email protected]> P=<[email protected]> R=dkim_lookuphost T=dkim_remote_smtp S=1999 H=server.remotedomain.com [x.x.x.x]:25 I=[x.x.x.x]50570 X=SSLv3:AES256-SHA:256 CV=no DN="/C=PY/ST=AState/L=ACity/O=Rieder/OU=Internet/CN=Some Guy/[email protected]" L C="250 ok 1579008412 qp 25805" QT=2.121s DT=1.709s
2020-01-14 10:26:49.448 [2272] 1irMDX-0000ac-AW Completed QT=2.122s
The error is:

Code:
2020-01-14 10:26:48.718 [2276] 1irMDX-0000ac-AW [x.x.x.x] SSL verify error: depth=0 error=self signed certificate cert=BLAH
2020-01-14 10:26:48.718 [2276] 1irMDX-0000ac-AW [x.x.x.x] SSL verify error: certificate name mismatch: BLAH
How can I accept this certificate?

Thanks in advance.

~ceci
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
9,012
762
263
Houston
cPanel Access Level
DataCenter Provider
That mail transaction you showed me shows a completion though, this indicates that the mail was successfully delivered to its destination.

This specifically:

Bash:
2020-01-14 10:26:49.448 [2272] 1irMDX-0000ac-AW => [email protected] F=<[email protected]> P=<[email protected]> R=dkim_lookuphost T=dkim_remote_smtp S=1999 H=server.remotedomain.com [x.x.x.x]:25 I=[x.x.x.x]50570 X=SSLv3:AES256-SHA:256 CV=no DN="/C=PY/ST=AState/L=ACity/O=Rieder/OU=Internet/CN=Some Guy/[email protected]" L C="250 ok 1579008412 qp 25805" QT=2.121s DT=1.709s
2020-01-14 10:26:49.448 [2272] 1irMDX-0000ac-AW Completed QT=2.122s
There are a few indicators here:
1. This isn accepted status of 250 - indicating the amount of time it spent in the queue and the amount of time it spent delivering the mail.
C="250 ok 1579008412 qp 25805" QT=2.121s DT=1.709s
2020-01-14 10:26:49.448


2. This indicates the transaction is complete.
Code:
Completed QT=2.122s
For mail that is sent to a remote destination, this is all I have to go off of, as long as those show a complete transaction, as far as your server is concerned the mail was accepted. For mail that is delivered locally, you have the advantage of having the exim logs at hand. Those transactions would be useful to determine what specifically happened to the mail.