Agent Authentication

Started by p69, September 22, 2014, 01:15:23 AM

Previous topic - Next topic

p69

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/)

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

Benjamin Dill

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

p69

#2
Thanks, I used nxencpassw.exe and it works ...

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