Skip to content

Instantly share code, notes, and snippets.

@BenSlabbert
Created January 3, 2019 12:53
Show Gist options
  • Save BenSlabbert/e312dfacc5b2c9cb36556d776c28de52 to your computer and use it in GitHub Desktop.
Save BenSlabbert/e312dfacc5b2c9cb36556d776c28de52 to your computer and use it in GitHub Desktop.
openssl create public and pricate keys
openssl req -x509 -newkey rsa:2048 -keyout private.pem -out cert.pem -days 365 -nodes
openssl rsa -in private.pem -out public.pem -outform PEM -pubout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment