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
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024