I think "-state" option for s_client or s_server shows the steps of an SSL
handshake.  If you want to implement the same thing in your code, take a
look at the s_client and s_server code.  Basically, you set a callback
function for printing out the state information, I think.  I haven't looked
into this in too much detail, so that's all I can tell you at this point.

If you are just testing to see if your code works or not, just try sending
stuff against s_server or s_client, depending on what you're trying to test.

I hope this helps.

----------------------------------------------------------------------
Peter Kim
Software Developer
Xcert International Inc.

e-mail: [EMAIL PROTECTED]
URL: http://www.xcert.com
homepage: http://home.xcert.com/~pckim
ph 604 640 6210 ext 268
----------------------------------------------------------------------


> Is there a way I can enable debug output to show the contents of an SSL
> handshake?  Probably due to my ignorance, the server is not getting a
> certificate from the client (it's x509 properties are all empty).
>
> I'm using MICO as a server and Jacorb+iSaSiLk as client, and I need to
> ensure that the server is properly requesting a certificate from the
> client.  MICO's SSL demo code gets the certificate OK, but the server
> fails to get any information from the Jacorb+iSaSiLk client (the
> communication still works fine, so it's not like the server is rejecting
> the client for not providing a certificate).
>
> Thanks
> Tim Wall
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

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

Reply via email to