Hi, I am trying to add encryption support for the snmp package building under cygwin. I run the standard build process: configure, make, make install. I have openssl installed and believe that the encryption libraries were correctly built into the agent but I keep getting a key generation error when I try to send an encrypted transmission. Below is the configuration summary after running “configure”.

 

**

Configuration Summary:

 

Net-SNMP Version:             5.1.1

Building for:                 cygwin

Network transport support:    Callback TCP UDP

SNMPv3 Security Modules:      usm

Agent MIB code:         mibII ucd_snmp snmpv3mibs notification target agent_mibs agentx agent_mibs utilitites host agentx smux examples/example

SNMP Perl modules:            disabled

Embedded perl support:        disabled

Authentication support:       MD5 SHA1

Encryption support:           DES AES128 AES192 AES256

**

 

After installing I run the “net-snmp-config” script and create a user. If I try to encrypt a transmission with :

>snmpget -v 3 -u myuser -l authPriv -x DES -X my_password localhost sysUpTime.0
>snmpget: Error generating a key (Ku) from the supplied privacy pass phrase. 
 
The passphrase I chose for testing was “lightyear”. The username was the same. Based on the Configuration summary, I’m assuming I’ve correctly built the package. Any idea why I would be getting the key generating error? 
 
Note that without encrypting the transmission, everything works fine. 
 
--Erick 




Reply via email to