Skip to content

Instantly share code, notes, and snippets.

@ponnamkarthik
Last active August 30, 2024 01:58
Show Gist options
  • Save ponnamkarthik/f07dca80162c5d4b2de4b98b4aa309a5 to your computer and use it in GitHub Desktop.
Save ponnamkarthik/f07dca80162c5d4b2de4b98b4aa309a5 to your computer and use it in GitHub Desktop.
# To convert csr or crt file
openssl x509 -in key.crt -out key.pem
# To convert private key to pem file
openssl rsa -in ./private.key -text > private.key.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment