Skip to content

Instantly share code, notes, and snippets.

@lizkes
Created August 3, 2021 06:00
Show Gist options
  • Save lizkes/73c34fca4240a4fa4d212fc3a9329c93 to your computer and use it in GitHub Desktop.
Save lizkes/73c34fca4240a4fa4d212fc3a9329c93 to your computer and use it in GitHub Desktop.
openssl generate ecc key
openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-256 -out privkey_ecc.pem
openssl pkey -in privkey_ecc.pem -out pubkey_ecc.pem -pubout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment