You use the command line utility of your own machine, or another, to test SSL functionality:

Here is the way you connect to google:

openssl s_client -connect www.google.com:443 -debug

Here are some more examples:

http://www3.sympatico.ca/n.rieck/docs/openvms_notes_ssl.html#ssl-one-liners


Neil Rieck
Kitchener / Waterloo / Cambridge,
Ontario, Canada.
http://www3.sympatico.ca/n.rieck/


-----Original Message----- From: Nathan Smyth
Sent: Saturday, April 14, 2012 7:20 PM
To: openssl-users@openssl.org
Subject: How to 'test' if SSL is working??

Hi there,

I have a dumb question. How can I tell whether SSL is actually protecting a tcp connection - is there anyway from outside the application. I assume I should look for something in Netstat?

I have quite a complicated application, with lots of sockets open between various components. Some (on the same machine) shouldn't be SSL protected, others should be. I think I've got it implemented OK, but I'd like to make sure --- you know, so it's not just a failed SSL handshake which drops back to unprotected reads/writes.

Any tips most welcome (I'm on Mac OSX)

Thanks
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager majord...@openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to