Re: How to dump SSL Handshake messages?

2008-01-11 Thread G.W. Haywood
Hi there,

On Fri, 11 Jan 2008, Vicky Ven wrote:

 I need to the capture the SSL handshake messages between my client
 application and server.
 How do we dump detailed SSL Handshake messages? Does OpenSSL offer some
 means?

Depends on your platform.

Try tcpdump if you have something that offers it - almost all Unix-like
systems do.  Wireshark is very much better but takes a little effort to
install if you don't already have it.

--

73,
Ged.
__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]


How to dump SSL Handshake messages?

2008-01-11 Thread Vicky Ven
Hi,

I need to the capture the SSL handshake messages between my client
application and server.
How do we dump detailed SSL Handshake messages? Does OpenSSL offer some
means?

Thanks,
Vicky


Re: How to dump SSL Handshake messages?

2008-01-11 Thread Vicky Ven
Hi,

 I have used ssldump tool. However I need to implement the logging
 capability in my application. For example, if  the application recieves a
particular Alert message , the application should dump all the messages that
were exchanged for that particular handshake.


Thanks,
Vicky



On 1/11/08, Vicky Ven [EMAIL PROTECTED] wrote:

 Hi,

 I need to the capture the SSL handshake messages between my client
 application and server.
 How do we dump detailed SSL Handshake messages? Does OpenSSL offer some
 means?

 Thanks,
 Vicky




Re: How to dump SSL Handshake messages?

2008-01-11 Thread Marek . Marcola
Hello, 
  I have used ssldump tool. However I need to implement the logging 
capability in my 
 application. For example, if  the application recieves a particular 
Alert message , the 
 application should dump all the messages that were exchanged for that 
particular handshake. 
You may set message peek callback with SSL_set_msg_callback() function.
Look at examples in apps/ directory.

Best regards,
--
Marek Marcola [EMAIL PROTECTED]

__
OpenSSL Project http://www.openssl.org
User Support Mailing Listopenssl-users@openssl.org
Automated List Manager   [EMAIL PROTECTED]