RE: with-openssl problem : "Encryption support not enabled"

"Naama Bar Menachem" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Sorry, problem was solved.

I may have recompiled snmpd, but used old snmpget...

 

Thank you

 

From: Naama Bar Menachem 
Sent: Thursday, November 18, 2010 9:40 AM
To: '[email protected]'
Cc: Naama Bar Menachem
Subject: with-openssl problem : "Encryption support not enabled"

 

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.

------------------------------------------------------------------------------
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
image001.jpg (image/jpeg, 4.2 KB) - not displayed
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.