Created
May 31, 2023 18:21
-
-
Save rahulremanan/fa6bffe4ba3bb01d8651cabb0efc11c2 to your computer and use it in GitHub Desktop.
Encrypt a message using the end-point server private key
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!cat ./message.txt | openssl rsautl -sign -inkey ./self_signed_cert.key -in - -out - | base64 > ./message.priv.enc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment