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.

By refactoring problematic code and creating automated tests, makandra can vastly improve the maintainability of your Rails application.

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