SNMP Command Gives "Error generating a key (Ku) from the supplied authentication pass phrase"
I have several newly-built CentOS 7.6 servers which I use to talk to intelligent power strips
using SNMPv3 queries. The servers were all built and hardened using the same Ansible
playbook.
On one server, I'm able to use snmpget to query the power strip and it gives me back the
proper data. The authentication settings for the strips I'm reading on this server
are:
- AuthPriv
- SHA
- AES
On all of the other servers, using the same snmpget command format (with the settings
for the local power strips), I get the following result right away:
Error generating a key (Ku) from the supplied authentication pass phrase.
The authentication settings for the strips I'm reading on this server
are:
- AuthPriv
- MD5
- DES
If I run the snmpget command from the server that works on the server that doesn't work,
it gives me back the proper data. And vice versa.
So it seems like the snmp command is failing when I use MD5 and DES. I cannot change the
power strips to use a different type of authentication.
Maybe something in the hardening scripts (CS2) is disabling MD5/DES? But I'm not sure
where to start looking for that setting.
Thanks.
- Dale
|