SSL support
===========

SSL implementation on Screws is based on linuxsocket.org example:
 http://www.linuxsocket.org/books/Sockets/programs/part4/chap16/ssl_server.c

Certs docu on:
http://www.gtlib.cc.gatech.edu/pub/linux/docs/HOWTO/other-formats/html_single/SSL-Certificates-HOWTO.html

It supports SSLv2 and SSLv3 protocol versions.

It's impossible to use SSL in directio mode. because directio is that :)
directIO, no ssl-wrapper supported in this mode.

Create a private key:
$ openssl genrsa -des3 -out rsa_key 2048
Generate the public certificate:
$ openssl req -new -key rsa_key -out rsa_key.pub

Or just simply executes the "CA.pl" program located at:
${PREFIX}/lib/ssl/misc/CA.pl

BUG: It doesn't works using "directio", use instead poll() or buffered.

There's an example ok key and certificate in "key-cert-pem.example" file.
The password for this private key is: "pope". Enjoy and test ;)
