Skip to content

Instantly share code, notes, and snippets.

@ReeMii
Created July 13, 2015 15:23
Show Gist options
  • Save ReeMii/e030ad59e6d97d124eaf to your computer and use it in GitHub Desktop.
Save ReeMii/e030ad59e6d97d124eaf to your computer and use it in GitHub Desktop.
Genrate SSL key and CSR
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