Skip to content

Instantly share code, notes, and snippets.

@rizalord
Created March 1, 2023 15:42
Show Gist options
  • Select an option

  • Save rizalord/205571498c3ee427e41560a39920de56 to your computer and use it in GitHub Desktop.

Select an option

Save rizalord/205571498c3ee427e41560a39920de56 to your computer and use it in GitHub Desktop.
Snippet for OpenSSL commands

OpenSSL Commands

Generate Private Key

openssl genrsa -out private.pem 3072

Generate Public Key from existing Private Key

openssl rsa -in private.pem -pubout -out public.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment