views:

96

answers:

2

I want to use SSL in my cross platform program. I decided to use OpenSSL.

I have OpenSSL installed, and at this point I am looking through the code and documentation trying to figure out how to use the library.

Do you have any resources or simple programs or tutorials that will walk me through integrating OpenSSL with my program?

+1  A: 

You can find some useful OpenSSL commands on this page:

www.networking4all.com/en/support/ssl+certificates/manuals/openssl/openssl+commands/

Paul
I would like to be able to programatically use the library. As in, add the library to my c++ project and integrate it with my code. As far as my programming knowledge goes, I cant do it using that command line tool.
VSC
+1  A: 

The very rough guide is:

Thereafter use SSL_read() and SSL_write() to read and write from the connection, and finish with SSL_shutdown(). The SSL_CTX can be re-used to create SSL objects for many simultaneous sessions.

caf