Hello,
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.
When pointing the path at the .crt file directly the verification succeeds and the agent is able to connect.
This is my configuration.
The log shows that the folder has been successfully added as trusted but certificate version fails.
I'm unsure if this is a configuration error on my part or something else, any ideas?
Thanks!
				
			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.
When pointing the path at the .crt file directly the verification succeeds and the agent is able to connect.
This is my configuration.
Code Select 
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
The agent is running under windows.The log shows that the folder has been successfully added as trusted but certificate version fails.
I'm unsure if this is a configuration error on my part or something else, any ideas?
Thanks!