Skip to content

Instantly share code, notes, and snippets.

View yuvalkarmi's full-sized avatar

Yuval Karmi yuvalkarmi

  • Tel Aviv, Israel
View GitHub Profile
@yuvalkarmi
yuvalkarmi / gist:3876ad27211e3071e99b24f25ba9b48c
Created November 1, 2016 14:08 — forked from birula/gist:9077748
Using SSL in your local rails environment
# 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