Hi Gilad,

First of all let me thank you for the kind positive response.

Yes, I am using the SSLeay libraries for the handshake thing to be done, to test the positive flow.

But by using those APIs i cannot do the testing for negtive flow, i started writing a TCP/IP server(non SSL) and tried to send the messages( like ServerHello, ServerHelloDone etc) mannually.
I created the structures as defined in the SSL drafts in perl and tried to send them to the SSL Client.


But it always says
1344:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:.\ssl\s23_clnt.c:475:


I even tweeked into the ssl/s23_clnt.c code, which gave me no proper reason why is it failing :(

I have also used the s_server.exe provided with Openssl to test some of the negative flows, but even that has no option to configure the handshake messages, like changing the sequence of messages, changing the format of messages, not sending some of the messages etc.

I am not using HTTPS as it is not a web application!

Can you pls let me know if i can do anything other than this to format the messages and send the same to the SSL client?


Thanks a lot regards girish


From: Gilad Finkelstein <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,[EMAIL PROTECTED]
Subject: RE: Configuring SSL Handshake
Date: Mon, 11 Aug 2003 13:24:33 +0200


Hi Girish,
I do not now if you can change / configure the SSL Handshake message and
there is probably no need to do so anyway.
There is a perl library for html (if that is your final goal) called
libwww-perl and it uses openssl as it's crypto and ssl engine for https
connections
I use it to do things like connecting to an ssl server (letting the library
do the hard work of ssl handshake)
The code that translate things from perl to openssl C (actually it is
Crypt-SSLeay-05.51 but there are other alternatives) can help you figure out
how to write your own ssl handshake for non web servers (like your echo
server).


Gilad

-----Original Message-----
From: Girish Hegde [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 7:17 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Configuring SSL Handshake


Hello there,


This is my 3rd or 4th request for the group. Pls if any one has any clue
about this, reply me.

I am trying to test an SSL compliant Client application with a dummy echo
server i have written in PERL.
Is there any way to configure the SSL Handshake messages, change the
sequences etc?

Since all these are done internally by OpenSSL, how can acheive this in
PERL?


Pls reply me as soon as possible......I m in a DARK ROOM AT PRESENT :((


Thanks and regards
Girish

_________________________________________________________________
Dress up your desktop! Get the best wallpapers.
http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just
click here!

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

_________________________________________________________________
Dress up your desktop! Get the best wallpapers. http://server1.msn.co.in/msnchannels/Entertainment/wallpaperhome.asp Just click here!


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to