SMTP Connection with self signed certificate
1-14-23
Operating system: macOS
Hello.
After updating StandardERP server to last build 8.5 2022-10-22 (build 85480648) SMTP connection to local mail server was broken. Logs not tell anything, but I installed one old SERP version 8.5 2021-06-08 (build 85380088) and retrieve some logs.

2023-01-14 17:55:51 /THREAD(4) SMTP connecting to 192.168.1.8:25
2023-01-14 17:55:51 /THREAD(4) SMTP connected
2023-01-14 17:55:51 /THREAD(4) SMTP starting TLS

2023-01-14 17:55:51 /THREAD(1) sockno=3,fd=117:SSL:192.168.1.8:25 SSL CERT certificate verification failed with error X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT (18)
2023-01-14 17:55:51 /THREAD(1) sockno=3,fd=117:SSL:192.168.1.8:25 SSL CERT chain 0 ** ERROR >> claims to be /C=CA/L=Toronto/O=ClearOS/OU=ClearOS/CN=system.lan/emailAddress=noreply@localhost cert expires 2025-07-12 issued by /C=CA/L=Toronto/O=ClearOS/OU=ClearOS/CN=system.lan/emailAddress=noreply@localhost
2023-01-14 17:55:53 /THREAD(12) DoUpdateDatabaseRestrictions magic=25297, restrictf=2, shutdownf=2
2023-01-14 17:55:53 SYSTEM Sending Email from Samuel Jaffacake
2023-01-14 17:55:57 Requesting Lookup address
2023-01-14 17:55:57 SYSTEM Sending Email from Samuel Jaffacake
2023-01-14 17:56:01 /THREAD(4) SMTP TLS failed async: 1 ssl: 1 state: 7

As I understand problem with OpenSSL checks this certificate and that it is self signed.

Can I solve this problem without changing certificate?
Aldevinas Katkus
1-25-23
Maybe you have an antivirus like Kaspersky or Eset? You need to turn off protocol filtering as it called in the Eset NOD antivirus.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Piotr Wycichowski
Hi, I checked option "Use External Mail Software" in setting "Mail and Conferences Settings" in module "Mail and Conferences". When I create an invoice email I have a ...
17:38 8 Aug 2025
Piotr Wycichowski
Hi, Is somebody experienced in necessary settings for successful connection to server using webclient. When I tried, I got warning in brower, that Web client settings for HTTPS is not setup. So I ...
12:59 21 July 2025