Make sure you are using Erlang's latest release, namely R14B04 as the older versions's SSL OTP package has a memory leak http://erlang.2086793.n4.nabble.com/SSL-cache-delete-bug-td3614886.html
mkdir ssl cd ssl
openssl genrsa -out privkey.pem 1024 -des3
openssl req -new -key privkey.pem -out certreq.csr
openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095
openssl x509 -req -days 3650 -in certreq.csr -signkey privkey.pem -out newcert.pem
{ssl_enable, true}, {ssl_options, [ {cacertfile, "ssl/cacert.pem"}, {certfile, "ssl/newcert.pem"}, {keyfile, "ssl/privkey.pem"}, {verify, verify_peer}, {fail_if_no_peer_cert, false} ]},
From: -boot start_sasl -config boss -s reloader -s boss \ To: -boot start_sasl -config boss -s reloader -s inets -s ssl -s boss \