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
Carolina Valentino
are the activity set as Hansamanuals said? https://www.hansamanuals.com/main/mailnumber___62526/theconf___231/manuals/version___20250224/langcode___es/hwconvindex.htm?shortcode=HW0301SETTINGS_Order...
17:20 4 Apr 2025
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025