Skip to content

Instantly share code, notes, and snippets.

@rahulremanan
Created May 31, 2023 17:51
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 rahulremanan/0af1fd93c3363733b54366004fd2cb95 to your computer and use it in GitHub Desktop.
Save rahulremanan/0af1fd93c3363733b54366004fd2cb95 to your computer and use it in GitHub Desktop.
Extract public key from the end-point server certificate file
!openssl x509 -pubkey -noout -in ./self_signed_cert.crt -out ./self_signed_cert.pub.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment