Posted almost 6 years ago. Visible to the public.

Howto: Create a self-signed certificate

As igalic commented on this gist.

openssl req -new -newkey rsa:2048 -sha1 -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.
Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Owner of this card:

Dominik Schöler
Last edit:
almost 6 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