Skip to content

Instantly share code, notes, and snippets.

@dasibre
dasibre / gist:fa10fb1969eac94639059d026c3e6385
Created January 6, 2024 10:14 — 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