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
Thanks Gatis, anyway it seems to be reported as bug instead of wish because now it depends on who created task for whom, am I right? /Piotr W....
14:39 15 May 2024
Aldevinas Katkus
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts Not sure why it was duplicated, I clicked "submit"only once....
08:09 10 May 2024