views:

112

answers:

2

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!

+2  A: 

These look promissing:

http://www.openssl.org/docs/apps/openssl.html

http://www.ibm.com/developerworks/linux/library/l-openssl.html

Jens Schauder
Awesome, the dev works article looks good. Thanks.
David Wolever
A: 

I've also found this: http://www.rtfm.com/openssl-examples/ which has good, simple examples.

David Wolever