NetXMS Support Forum

English Support => General Support => Topic started by: p69 on September 22, 2014, 01:15:23 AM

Title: Agent Authentication
Post by: p69 on September 22, 2014, 01:15:23 AM
Hello,

I try to set the authentication agent.

Agent Config:
RequireAuthentication = yes
RequireEncryption = yes
EnabledCiphers = 1
SharedSecret = 123456789

Server Node Config:
Authentication method
PLAIN TEXT
123456789

ok, works.


But, if on server node use MD5 or SHA1, agent is not responding.

MD5 Config (123456789 http://www.sha1-online.com/ (http://www.sha1-online.com/))

Agent Config:
RequireAuthentication = yes
RequireEncryption = yes
EnabledCiphers = 1
SharedSecret = 25f9e794323b453885f5181f1b624d0b

Server Node Config:
Authentication method
MD5
123456789


What I am doing wrong?

netxms 1.2.16
Title: Re: Agent Authentication
Post by: Benjamin Dill on September 22, 2014, 02:04:42 AM
Hi,

config option SharedSecret is always in clear text. There is an additional option EncryptedSharedSecret for that porpose.
See also here http://wiki.netxms.org/wiki/Agent_Configuration_File.

Best wishes,
Ben
Title: Re: Agent Authentication
Post by: p69 on September 22, 2014, 02:52:23 AM
Thanks, I used nxencpassw.exe and it works ...

I thought that it is used standardly SHA1 and MD5 :)