|Per-session TLS/SSL Settings||Table of Content||FAST Coding|
openssl command-line tool can be used as a generic TLS/SSL client which connects to a remote host using SSL/TLS.
It's Windows version can be downloaded at http://www.slproweb.com/products/Win32OpenSSL.html.
openssl s_client -host HOSTNAME -port PORT -cert hostcert.pem -key hostkey.pem
openssl.exe s_client -host HOSTNAME -port PORT -cert hostcert.pem -key hostkey.pem -CAfile trustedCertificates.pem
More details could be received using the -msg and -debug options.
The detailed description of this mode can be found at https://www.openssl.org/docs/manmaster/man1/s_client.html.