Posted almost 6 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.

Once an application no longer requires constant development, it needs periodic maintenance for stable and secure operation. makandra offers monthly maintenance contracts that let you focus on your business while we make sure the lights stay on.

Owner of this card:

Avatar
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