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?
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Yavuz Yigiterhan
More explanation @Paul: When the issue occurs, should see if restarting presence or lookup helps. If so - that is the issue and should be sorted. First need to ensure that that is the issue...
07:18 2 July 2025
Arzu Erdogdu
Hello! You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...
09:29 13 Jun 2025