Page tree
Skip to end of metadata
Go to start of metadata

How to create a certificate

Create KEY

openssl genrsa -out certificate.key 4096

Remove a passphrase from a private key

openssl rsa -in certificate.key -out certificate2.key

Create CSR

openssl req -new -sha256 -key certificate.key -out certificate.csr

Create self signed certificate

 openssl req -x509 -nodes -days 365 -newkey rsa:4096 -keyout certificate.key -out certificate.crt

How to check a certificate

openssl x509 -text -noout -in certificate.crt
  • No labels