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 rahulremanan/2d56a48b429753bfc73a63cc2bd6f725 to your computer and use it in GitHub Desktop.
Save rahulremanan/2d56a48b429753bfc73a63cc2bd6f725 to your computer and use it in GitHub Desktop.
Encrypt a small text file using the end-point server public key
!openssl rsautl -pubin -inkey ./self_signed_cert.pub.key -encrypt -in ./message.txt -out ./message.enc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment