I want to learn about the nuts-and-bolts of using SSL to secure client/server communication. Is there any documentation, anywhere, regarding how to do this with OpenSSL?
The best I've been able to find so far is the source code for stunnel (http://www.stunnel.org/)...
To be more precise, I want the client to be able to connect with the server, do the secure handshake, verify that the the server's certificate is valid (eg, signed by a trusted CA, not expired, etc) then send some data.
Thanks!