A quick note on the command for generating a valid SSL certificate for RavenDB using openssl. You will need to have followed this tutorial to be able to simply run this one command below. If you don't have a valid localhost SSL certificate with a valid Certificate Authority keychain file then this won't work. The tutorial covers this all so don't fret.
$ cd ~/.localhost/ca/intermediate
$ openssl pkcs12 -export -out ravendb/certificate.pfx -inkey private/localhost.key.pem \
-in certs/localhost.cert.pem -certfile certs/ca-chain.cert.pem