Posted over 5 years ago. Visible to the public.

Howto: Create a self-signed certificate

As igalic commented on this gist.

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

Explanation

req -new
Create a new request …
-newkey
… using a new key …
rsa:2048
… of type RSA, 2048 bits long.
-sha1
Make sure to use SHA1 as this certificate's hashing algorithm,
-nodes
don't encrypt the key and
-x509
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:

Avatar
Dominik Schöler
Last edit:
over 5 years ago
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