Skip to content

Instantly share code, notes, and snippets.

@Dragory
Forked from Nathaniel100/openssl.md
Created February 16, 2021 12:32
Show Gist options
  • Save Dragory/cbf1ee7551401bab1e688453c3dcf3d4 to your computer and use it in GitHub Desktop.
Save Dragory/cbf1ee7551401bab1e688453c3dcf3d4 to your computer and use it in GitHub Desktop.
Generate PKCS10 request

Generate a new private key and Certificate Signing Request

openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key

Generate a certificate signing request (CSR) for an existing private key

openssl req -out CSR.csr -key privateKey.key -new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment