<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Change in certificate trust in v7?]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">since I've updated to 7.0.1 my Service.Check and NetworkService.Status DCI returns 5 for https sites, which is I believe some cert trust error?<br />
Was there any change that could cause this?</p>
<p dir="auto">thank you</p>
]]></description><link>https://forum.netxms.org/topic/8464/change-in-certificate-trust-in-v7</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 06:08:02 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8464.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Oct 2026 12:21:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Change in certificate trust in v7? on Tue, 10 Nov 2026 12:28:30 GMT]]></title><description><![CDATA[<p dir="auto">Thank you for the fix. <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
Bit offtopic, any way to clean up my business service ?</p>
]]></description><link>https://forum.netxms.org/post/35875</link><guid isPermaLink="true">https://forum.netxms.org/post/35875</guid><dc:creator><![CDATA[szabolcs]]></dc:creator><pubDate>Tue, 10 Nov 2026 12:28:30 GMT</pubDate></item><item><title><![CDATA[Reply to Change in certificate trust in v7? on Wed, 04 Nov 2026 17:59:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi there</p>
<p dir="auto">Ah thank you for such a quick response - Perfect yes that makes sense.</p>
<p dir="auto">I have copied the new ddl in &amp; tested - All works perfectly now.</p>
<p dir="auto">Kind regards &amp; thanks again for all your work on this product.</p>
]]></description><link>https://forum.netxms.org/post/35861</link><guid isPermaLink="true">https://forum.netxms.org/post/35861</guid><dc:creator><![CDATA[KSAIT]]></dc:creator><pubDate>Wed, 04 Nov 2026 17:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to Change in certificate trust in v7? on Wed, 04 Nov 2026 17:28:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">CACertificates is an agent parameter. netxmsd doesn't read it, the config dump just prints every key in the file. The server has no equivalent: notification drivers rely on libcurl defaults, and in the 7.0.0-7.0.2 Windows builds libcurl has no trusted roots at all.</p>
<p dir="auto">It's fixed in 7.0.3 (<a href="https://github.com/netxms/netxms/issues/3869" rel="nofollow ugc">https://github.com/netxms/netxms/issues/3869</a>). libcurl is now built with Schannel as the default TLS backend, so it uses the Windows certificate store, same as your -CAstore org.openssl.winstore: test. You don't have to wait for the release: libcurl.dll from that build works as a drop-in replacement on 7.0.2, you can get it here: <a href="https://cloud.radensolutions.com/s/x3j62JbWPqsNtXJ" rel="nofollow ugc">https://cloud.radensolutions.com/s/x3j62JbWPqsNtXJ</a></p>
<p dir="auto">Stop the NetXMS server and agent services, keep a copy of the old C:\NetXMS\bin\libcurl.dll, copy the new one over it and start the services again. After that the cURL initialized (version: ...) line in the log should include Schannel, and you can remove VerifyPeer=false from the SMTP channel and CACertificates from both configs.</p>
<p dir="auto">The next upgrade overwrites the DLL, which is fine because 7.0.3 ships the same one. The same file works for 64-bit Windows agents too: put it in the agent's bin directory instead of setting CACertificates.</p>
]]></description><link>https://forum.netxms.org/post/35859</link><guid isPermaLink="true">https://forum.netxms.org/post/35859</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Wed, 04 Nov 2026 17:28:35 GMT</pubDate></item><item><title><![CDATA[Reply to Change in certificate trust in v7? on Wed, 04 Nov 2026 11:44:02 GMT]]></title><description><![CDATA[<p dir="auto">Hello - Aye this has caused us issues as well with the notification drivers on our Windows install.</p>
<p dir="auto">Telegram &amp; our SMTP one both say</p>
<pre><code>curl_easy_perform() failed (60: SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19))
</code></pre>
<p dir="auto">SMTP one we can bypass this by adding "VerifyPeer=false" to the config as a temp fix (It's Office 365) but Telegram we can't.</p>
<p dir="auto">If we run "openssl s_client -connect <a href="http://api.telegram.org:443" rel="nofollow ugc">api.telegram.org:443</a>" on the machine it returns with</p>
<pre><code>Verify return code: 19 (self-signed certificate in certificate chain)
</code></pre>
<p dir="auto">Running</p>
<pre><code>openssl s_client -connect api.telegram.org:443 -CAstore org.openssl.winstore:
</code></pre>
<p dir="auto">Forces it to load in the windows certificate store &amp; then passes all ok.</p>
<p dir="auto">So we've done what is in the post above</p>
<p dir="auto">Downloaded the Mozilla ca bundle and imported into our NetXMS Server config (netxmsd.conf) &amp; the agent config on the server (nxagentd.conf) , but still fails on both drivers<br />
(It appears to be being loaded in)</p>
<pre><code>2026.11.04 11:34:48.438 *I* [config             ]      +- CACertificates
2026.11.04 11:34:48.438 *I* [config             ]           value: C:\NetXMS\etc\cacert.pem
</code></pre>
<p dir="auto">Telegram uses a Godaddy cert if it helps at all</p>
<p dir="auto">Curl version is</p>
<pre><code>2026.11.04 11:34:48.456 *D* [init.curl          ] cURL initialized (version: libcurl/8.21.0 OpenSSL/3.5.9 zlib/1.3.1.1-motley WinLDAP)
</code></pre>
]]></description><link>https://forum.netxms.org/post/35855</link><guid isPermaLink="true">https://forum.netxms.org/post/35855</guid><dc:creator><![CDATA[KSAIT]]></dc:creator><pubDate>Wed, 04 Nov 2026 11:44:02 GMT</pubDate></item><item><title><![CDATA[Reply to Change in certificate trust in v7? on Tue, 03 Nov 2026 12:41:11 GMT]]></title><description><![CDATA[<p dir="auto">Yes, this comes from a change in the Windows build. The libcurl bundled with the 7.0 agent uses OpenSSL for TLS and doesn't read the Windows certificate store, so unless a CA bundle is configured the agent has no trusted roots at all. Error 19 means your server sends the DigiCert root along with the chain and the agent doesn't trust it. A server that doesn't send the root fails with error 20 instead. The browser checks the same chain against the Windows store, which is why it looks valid there.</p>
<p dir="auto">7.0.2, released today, doesn't change this.</p>
<p dir="auto">Workaround is to give the agent a CA bundle. Mozilla's bundle from <a href="https://curl.se/docs/caextract.html" rel="nofollow ugc">https://curl.se/docs/caextract.html</a> includes the DigiCert roots:</p>
<pre><code># nxagentd.conf, top level - applies to netsvc and other https requests made by the agent
CACertificates = C:\NetXMS\etc\cacert.pem
</code></pre>
<p dir="auto">Restart the agent after the change.</p>
<p dir="auto">Can you please post the "cURL initialized (version: ...)" line from the agent log? It's logged on startup with DebugLevel 3 or higher, and it shows the TLS backend, which will confirm this.</p>
]]></description><link>https://forum.netxms.org/post/35850</link><guid isPermaLink="true">https://forum.netxms.org/post/35850</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 03 Nov 2026 12:41:11 GMT</pubDate></item><item><title><![CDATA[Reply to Change in certificate trust in v7? on Mon, 02 Nov 2026 15:27:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">thank you, updgrade was from 6.2.5, this is a windows agent, this is what i get in the log.</p>
<p dir="auto">Its an onprem site with cert from a public PKI (DigiCert root, appears valid in a browser)</p>
<pre><code>NetworkServiceStatus_HTTP(https://*fqdn*): call to curl_easy_perform failed (60: SSL certificate OpenSSL verify result: self-signed certificate in certificate chain (19))
</code></pre>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alk" aria-label="Profile: alk">@<bdi>alk</bdi></a> said in <a href="/post/35842">Change in certificate trust in v7?</a>:</p>
<blockquote>
<p dir="auto">Hi,</p>
<p dir="auto">5 is not specifically a certificate error. For http/https checks the agent returns it for any libcurl failure except DNS and connection errors, so a timeout looks the same as a TLS problem. Service.Check and NetworkService.Status run the same code, so both returning 5 is one failure, not two.</p>
<p dir="auto">There are no changes in the check code between 6.2.6 and 7.0.1. What did change is the Windows agent build - new toolchain and new bundled libraries, libcurl included. Is this a Windows agent, or deb/rpm? And which version did you upgrade from?</p>
<p dir="auto">To see the real error, set DebugLevel = 6 in nxagentd.conf, restart the agent and post these two lines from the agent log:</p>
<pre><code>cURL initialized (version: ...)
NetworkServiceStatus_HTTP(...): call to curl_easy_perform failed (NN: ...)
</code></pre>
<p dir="auto">Quick test for certificate trust:</p>
<pre><code>NetworkService.Status(https://your.site, verify-peer=false)
</code></pre>
<p dir="auto">If this returns 0, then it's trust. As a workaround you can point the agent to a CA bundle in PEM format:</p>
<pre><code>[netsvc]
CA = /path/to/ca-bundle.pem
</code></pre>
</blockquote>
]]></description><link>https://forum.netxms.org/post/35844</link><guid isPermaLink="true">https://forum.netxms.org/post/35844</guid><dc:creator><![CDATA[szabolcs]]></dc:creator><pubDate>Mon, 02 Nov 2026 15:27:44 GMT</pubDate></item><item><title><![CDATA[Reply to Change in certificate trust in v7? on Mon, 02 Nov 2026 13:48:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">5 is not specifically a certificate error. For http/https checks the agent returns it for any libcurl failure except DNS and connection errors, so a timeout looks the same as a TLS problem. Service.Check and NetworkService.Status run the same code, so both returning 5 is one failure, not two.</p>
<p dir="auto">There are no changes in the check code between 6.2.6 and 7.0.1. What did change is the Windows agent build - new toolchain and new bundled libraries, libcurl included. Is this a Windows agent, or deb/rpm? And which version did you upgrade from?</p>
<p dir="auto">To see the real error, set DebugLevel = 6 in nxagentd.conf, restart the agent and post these two lines from the agent log:</p>
<pre><code>cURL initialized (version: ...)
NetworkServiceStatus_HTTP(...): call to curl_easy_perform failed (NN: ...)
</code></pre>
<p dir="auto">Quick test for certificate trust:</p>
<pre><code>NetworkService.Status(https://your.site, verify-peer=false)
</code></pre>
<p dir="auto">If this returns 0, then it's trust. As a workaround you can point the agent to a CA bundle in PEM format:</p>
<pre><code>[netsvc]
CA = /path/to/ca-bundle.pem
</code></pre>
]]></description><link>https://forum.netxms.org/post/35842</link><guid isPermaLink="true">https://forum.netxms.org/post/35842</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 02 Nov 2026 13:48:39 GMT</pubDate></item></channel></rss>