?
R
BashThe CSR is a message sent from an applicant to a certificate authority in order to apply for a digital identity certificate. OpenSSL is designed to generate a private key and CSR. This snippet allows for any applicant to generate a key pair, keeping the private key secret. Keys will be generated with openssl. Use cases: a) Re-key a certificate b) Renew and re-key a certificate
1openssl req -new -newkey rsa:2048 -nodes -out my-csr.pem -keyout private-key.pem
2# output for the csr
3# -----BEGIN CERTIFICATE REQUEST-----
4...
5# -----END CERTIFICATE REQUEST-----
6
7
Created on 5/14/2018