TLS client disconnected cleanly (rejected our certificate?)

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
85
Hello,

for one website I use PHPMailer 6.0.1.

When I have configered $SMTPAutoTLS = true then mail is not being send and I have following error in the mainlog:

2017-12-18 12:58:38 TLS error on connection from srv.server.com (www.domain.be) [00.00.00.00] (SSL_accept): error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca
2017-12-18 12:58:38 TLS client disconnected cleanly (rejected our certificate?)


When I put $SMTPAutoTLS = false mail is being send. But is it possible to use TLS or not?

I think it's an error about the certificate.

The domain has a certifcate for domain.be and www.domain.be
There is not certificate for srv.server.com only for server.com and www.server.com

May this be the error?
Should I have a certificate also for srv.server.com (I don't use this domain for my website, it's only the name of the server)
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,902
Location
GMT +7.00
Hello,

If you don't use Mail SNI and your domain's cert is not added into Exim then you need either to connect to a hostname or install your domain's cert into Exim.
 
Top