<?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[Passing a folder to TrustedRootCertificate doesn't work]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">While setting up agent tunneling I've passed a folder for the TrustedRootCertificate config however after looking at the logs verification of the certificate still fails.</p>
<p dir="auto">When pointing the path at the .crt file directly the verification succeeds and the agent is able to connect.</p>
<p dir="auto">This is my configuration.</p>
<pre><code>ServerConnection = REDACTED:4703
MasterServers = REDACTED
ConfigIncludeDir = C:\NetXMS\etc\nxagentd.conf.d
#LogFile = {syslog}
LogFile = C:\NetXMS\log\log.log
DebugLevel = 6
FileStore = C:\NetXMS\var
SubAgent = bind9
SubAgent = filemgr
SubAgent = ping
SubAgent = logwatch
SubAgent = mqtt
SubAgent = netsvc
SubAgent = ssh
SubAgent = wineventsync
SubAgent = winperf
SubAgent = wmi
SubAgent = ups
EnableProxy = yes
EnableSNMPProxy = yes
EnableSNMPTrapProxy = yes
EnableSyslogProxy = yes
EnableTCPProxy = yes
RequireAuthentication = yes
RequireEncryption = yes
EnabledCiphers = 1
SharedSecret = REDACTED

TrustedRootCertificate=C:\NetXMS\var\certs\rootCA.crt # This works
#TrustedRootCertificate=C:\NetXMS\var\certs\ # This does not
VerifyServerCertificate=yes

[filemgr]
RootFolder = C:/NetXMS # read/write access

ZoneUIN = 2
ZoneId = 2

[ServerConnection/REDACTED]
Hostname=REDACTED
Port=4703
</code></pre>
<p dir="auto">The agent is running under windows.</p>
<p dir="auto">The log shows that the folder has been successfully added as trusted but certificate version fails.<br />
I'm unsure if this is a configuration error on my part or something else, any ideas?<br />
Thanks!</p>
]]></description><link>https://forum.netxms.org/topic/8116/passing-a-folder-to-trustedrootcertificate-doesn-t-work</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:46:06 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8116.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Mar 2025 09:07:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Passing a folder to TrustedRootCertificate doesn't work on Tue, 18 Mar 2025 14:18:07 GMT]]></title><description><![CDATA[<p dir="auto">It should be possible to specify several TrustedRootCertificate entries in agent configuration file.</p>
<p dir="auto">Also both on Windows and Linux agent should add certs from the system store.</p>
]]></description><link>https://forum.netxms.org/post/34218</link><guid isPermaLink="true">https://forum.netxms.org/post/34218</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 18 Mar 2025 14:18:07 GMT</pubDate></item><item><title><![CDATA[Reply to Passing a folder to TrustedRootCertificate doesn't work on Mon, 17 Mar 2025 13:53:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi, thanks for getting back to me.</p>
<p dir="auto">In my mind I wanted to use folders so that once the Root CA that is used to issue to certificates for Agent Tunnels gets close to expiry I am able to issue a new one, provide that one to the agents and only once that is done update the certificate on the NetXMS server, removing the old one. By having both certificates in the folder it would allow me to rollback to the old certificate on the server in case something goes wrong and I lose connection to all my agents.</p>
<p dir="auto">I wanted to do it this way to avoid having to log on each machine whenever it's time to renew the CA.</p>
]]></description><link>https://forum.netxms.org/post/34205</link><guid isPermaLink="true">https://forum.netxms.org/post/34205</guid><dc:creator><![CDATA[LucIDR]]></dc:creator><pubDate>Mon, 17 Mar 2025 13:53:55 GMT</pubDate></item><item><title><![CDATA[Reply to Passing a folder to TrustedRootCertificate doesn't work on Mon, 10 Mar 2025 15:57:49 GMT]]></title><description><![CDATA[<p dir="auto">Can you give some insight in your use case, why a folder is needed? By the way, you can have several certs in one file.</p>
<p dir="auto">Providing a folder is supported, but the folder should prepared in a way that openssl library needs. On Linux this is done with symlinks named by cert hashes, you can find some details in comment under that question: <a href="https://unix.stackexchange.com/questions/688608/is-it-possible-to-install-a-custom-ca-certificate-without-the-ca-certificates-pa" rel="nofollow ugc">https://unix.stackexchange.com/questions/688608/is-it-possible-to-install-a-custom-ca-certificate-without-the-ca-certificates-pa</a></p>
]]></description><link>https://forum.netxms.org/post/34184</link><guid isPermaLink="true">https://forum.netxms.org/post/34184</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 10 Mar 2025 15:57:49 GMT</pubDate></item></channel></rss>