net-SNMP on windows getting decryption error

Mark Christiansen <[email protected]>
Newsgroups gmane.network.net-snmp.devel
Message-ID <CABbGQ1eKE+J8eTjknEWnJPrJMXs3mTXmWo38jVW6e+bKpx0JnA@mail.gmail.com>
Does anybody have ideas of what could be going wrong here?

I built net-SNMP 5.8 for my Windows 10 machine. I set up my snmpd.conf file
as shown below where I added the same users as I have on my Linux machine
called aurelius. I get the following responses when I run snmpgetnext for
the two servers:

C:\Users\markw>snmpgetnext -v 3 -l authPriv -u user3 -a MD5 -A
user3password -x DES -X user3encryption aurelius .1.3
SNMPv2-MIB::sysDescr.0 = STRING: Linux aurelius 3.13.0-40-generic
#69-Ubuntu SMP Thu Nov 13 17:56:26 UTC 2014 i686

C:\Users\markw>snmpgetnext -v 3 -l authPriv -u user3 -a MD5 -A
user3password -x DES -X user3encryption localhost .1.3
snmpgetnext: Decryption error

Thanks.
Mark.

###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Access Control Setup
#
#   This section defines who is allowed to talk to your running
#   snmp agent.

# rwuser: a SNMPv3 read-write user
#   arguments:  user [noauth|auth|priv] [restriction_oid]

rwuser  private

# rouser: a SNMPv3 read-only user
#   arguments:  user [noauth|auth|priv] [restriction_oid]

rouser  public

# rocommunity: a SNMPv1/SNMPv2c read-only access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rocommunity  public

# rwcommunity: a SNMPv1/SNMPv2c read-write access community name
#   arguments:  community [default|hostname|network/bits] [oid]

rwcommunity  private

###########################################################################
# Same user configuration I have on aurelius
###########################################################################

createUser user1
createUser user2 MD5 user2password
createUser user3 MD5 user3password DES user3encryption

rouser user1 noauth 1.3.6.1.2.1.1
rouser user2 auth 1.3.6.1.2.1
rwuser user3 priv 1.3.6.1.2.1

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.