Skip to content

Instantly share code, notes, and snippets.

View jsheely's full-sized avatar

Jonathan Sheely jsheely

View GitHub Profile
@jsheely
jsheely / gist:3d49cb87dd57cfbf28d6
Created November 12, 2015 23:51 — forked from sl4m/gist:5091803
create self-signed certificate for localhost
# SSL self signed localhost for rails start to finish, no red warnings.
# 1) Create your private key (any password will do, we remove it below)
$ openssl genrsa -des3 -out server.orig.key 2048
# 2) Remove the password
$ openssl rsa -in server.orig.key -out server.key