mac ssl hacking

we need to be running openssl

If you are not.... please install it

Fake Certificates

openssl genrsa -des3 -passout pass:x -out server.pass.key 2048


openssl rsa -passin pass:x -in server.pass.key -out server.key
writing RSA key

$ rm server.pass.key
$openssl req -new -key server.key -out server.csr

Then you will see

Country Name (2 letter code) [AU]:US
State or Province Name (full name) [Some-State]:California
A challenge password []:

When you see challenge password just enter return

Generate SSL certificate

The self-signed SSL certificate is generated from the server.key private key and server.csr files.

$ openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

The server.crt file is your site certificate suitable for use with Heroku’s SSL add-on along with the server.key private key.