Posted about 7 years ago. Visible to the public.

Howto: Create a self-signed certificate

As igalic commented on this gist.

openssl req -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout server.key -out server.crt


req -new

Create a new request ...

: ... using a new key ...


... of type RSA, 2048 bits long.

: Make sure to use SHA1 as this certificate's hashing algorithm,

: don't encrypt the key and

: make it an X.509 certificate, not a Certificate Signing Request.

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Owner of this card:

Dominik Schöler
Last edit:
9 months ago
by Claus-Theodor Riegg
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Dominik Schöler to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more