Skip to content

Instantly share code, notes, and snippets.

@taylortrimble
Created October 13, 2020 22:56
Show Gist options
  • Save taylortrimble/b4df6dac91ed94dd1a9534e063aaf2b0 to your computer and use it in GitHub Desktop.
Save taylortrimble/b4df6dac91ed94dd1a9534e063aaf2b0 to your computer and use it in GitHub Desktop.
One-liner to generate a P-256 private key and CSR
openssl req -new -newkey ec:<(openssl ecparam -name prime256v1) -nodes -keyout key.pem -out csr.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment