Good day! Tell me how to solve the problem with a certificate error.

sendEmail -f mail@mail.ru -t mail1@mail.ru -o tls=yes -u "!" -m "!" -s 12.18.12.10:587 -xu mail@mail.ru -xp passwd 

mail does not leave gives:

 May 25 13:34:54 it3 sendEmail[17883]: ERROR => TLS setup failed: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed 

output of the ls -l / etc / ssl / certs / root_CA command

 -rw-r--r-- 1 root root 1172 май 19 10:04 /etc/ssl/certs/root_CA.pem 

ls / usr / share / ca-certificates / mozilla | grep root_CA

 root_CA.crt 

How to compare or install the certificate I do not catch up, where to dig and what to do, tell me.

  • Show the output of the command cat /usr/bin/sendemail | grep -n "$SERVER, SSL_version =>" cat /usr/bin/sendemail | grep -n "$SERVER, SSL_version =>" - zombic
  • The header does not match the question ( sendmail ! = sendEmail ). - 0andriy
  • 1933: if (! IO :: Socket :: SSL-> start_SSL ($ SERVER, SSL_version => 'SSLv23:! SSLv2')) { - Angel of Tender Passion
  • Do you have sendemail and sendEmail ? - zombic
  • sendemail is installed and sendEmail "E: Could not find the sendEmail package" - Angel of Gentle Passion

0