Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DiegoRBaquero/fb58d014e34839d64b8850e8f2a8f88e to your computer and use it in GitHub Desktop.
Save DiegoRBaquero/fb58d014e34839d64b8850e8f2a8f88e to your computer and use it in GitHub Desktop.
OpenSSL Generate Key, CSR and Self-Signed Cert (256 bit ECDSA)
openssl ecparam -name prime256v1 -genkey -noout -out local.key
openssl req -new -sha256 -key local.key -out local.csr
openssl x509 -req -days 365 -sha256 -in local.csr -signkey local.key -out local.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment