Skip to content

Instantly share code, notes, and snippets.

View kordero's full-sized avatar

Lucas Crisman kordero

View GitHub Profile
@kordero
kordero / gist:366c34d416055adfb3ce
Created September 25, 2015 05:31 — forked from trcarden/gist:3295935
Rails 3.2.7 SSL Localhost (no red warnings, no apache config)
# 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