Hi

 

I have successfully compiled openssl in order to use encryption in
Net-SNMP, with:

 
--prefix=/home/naamab/eclipse/dev/common/libs/openssl-1.0.0a/cross_compi
le_result
--openssldir=/home/naamab/eclipse/dev/common/libs/openssl-1.0.0a/cross_c
ompile_result/openssl

I also successfully compile Net-snmp with the following command:

--with-openssl=/home/naamab/eclipse/dev/common/libs/openssl-1.0.0a/cross
_compile_result/

 

All seems to be going well, but when I run snmpd and try to do "snmpget"
with encryption:

./snmpget -m ALL -M /data/net/naamab/snmp/snmp_mib/ -v 3 -l authPriv -u
admin -a MD5 -A 12345678 -x DES -X 12345678 127.0.0.1
NOVELSATMIB::nsModLineCMMode.0

I get the following error:

Encryption support not enabled.

snmpget: USM encryption error

which is the same I got before installing openSSL.

 

Notes: 

1.       get with v2 community or v3 authentication without encryption
works well.

2.       I am cross-compiling both Net-SNMP and OpenSSL.\

3.       ./snmpd -H  2>&1 | grep defPrivType

Got the result:               defPrivType              DES|AES

 

 

 

Naaama Bar-Menachem

Software Engineer, R&D

 

P Please consider the environment before printing this e-mail.

 

<<image001.jpg>>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to