Re: SNMP TLS snmpget error

2014-07-24 Thread sandhya reddy
Hi ,

Is there any one who is using SNMPv3 with TLS.
Please respond. I don't find anyone showing interest.

Thanks Sandhya


On Wed, Jul 23, 2014 at 4:38 PM, sandhya reddy sr8...@gmail.com wrote:



 Hi Coders and Users,

 I've setup NET-SNMP 5.6.2.1 and configured tsm model.
 I've done this setup on two Ubuntu 14.04 PCs
 I'm trying to send out snmpget request over tlstcp:10161 The folowing are
 the steps i follow
 1) Start snmpd using the command : snmpd tlstcp:10161
 2) snmpget -T
 our_identity=CD:74:45:C9:A3:A3:55:0A:6C:37:03:B2:49:38:B1:01:99:95:8E:43 -T
 their_identity=CA:B8:0A:B3:6B:4C:21:2A:F2:92:CD:0B:6B:DF:6A:9F:23:D6:30:4B 
 tlstcp:IPAddress:10161
 sysContact.0
 I get an error Failed to create SSL context.
 I'm debugging using wireshark sniffs and observe the following:
 In the process of sending out snmpget request, TCP connection is getting
 established (i see SYN, SYN/ACK and ACK)and i see PUSH data to the
 agent(which might be Client hello the next step from SNMP manager) for
 which agent is trying to tear down the TCP connection with FIN/ACK

 Please give me some inputs as to what is wrong that is'm doing.
 Please help me to get snmpget request working


 Thanks,
 Sandhya


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: SNMP TLS snmpget error

2014-07-24 Thread Bill Fenner
Did you configure the certificates properly?  In particular, did you
configure the server with the private key?  Since you're using the
fingerprints from the tutorial, but using your local server instead of
test.net-snmp.org, where did you get the private key?  It's not part of the
published set of keys.

  Bill


On Wed, Jul 23, 2014 at 7:08 AM, sandhya reddy sr8...@gmail.com wrote:



 Hi Coders and Users,

 I've setup NET-SNMP 5.6.2.1 and configured tsm model.
 I've done this setup on two Ubuntu 14.04 PCs
 I'm trying to send out snmpget request over tlstcp:10161 The folowing are
 the steps i follow
 1) Start snmpd using the command : snmpd tlstcp:10161
 2) snmpget -T
 our_identity=CD:74:45:C9:A3:A3:55:0A:6C:37:03:B2:49:38:B1:01:99:95:8E:43 -T
 their_identity=CA:B8:0A:B3:6B:4C:21:2A:F2:92:CD:0B:6B:DF:6A:9F:23:D6:30:4B 
 tlstcp:IPAddress:10161
 sysContact.0
 I get an error Failed to create SSL context.
 I'm debugging using wireshark sniffs and observe the following:
 In the process of sending out snmpget request, TCP connection is getting
 established (i see SYN, SYN/ACK and ACK)and i see PUSH data to the
 agent(which might be Client hello the next step from SNMP manager) for
 which agent is trying to tear down the TCP connection with FIN/ACK

 Please give me some inputs as to what is wrong that is'm doing.
 Please help me to get snmpget request working


 Thanks,
 Sandhya



 --
 Want fast and easy access to all the code in your enterprise? Index and
 search up to 200,000 lines of code with a free copy of Black Duck
 Code Sight - the same software that powers the world's largest code
 search on Ohloh, the Black Duck Open Hub! Try it now.
 http://p.sf.net/sfu/bds
 ___
 Net-snmp-coders mailing list
 Net-snmp-coders@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders