Create a self-signed Certificate

Create an 4096 bit private key:

Create certificate signin request:

Signin and create the certificate with sha256 hash (sha1 is depracated) and set the validation time to 3650 days (10 years):

Now you have the certifcate cert.crt and private key cert.key.

Use this command instead of the commands above to create certificate and private key in one file


One response to Create a self-signed Certificate

Comments are closed.