New answers tagged

3

The formatting is identical to the RSA command, but uses the pkey command instead: openssl pkey -in private.pem -pubout -----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEABhjHE6AOa33q2JGlVk9OjICRp2S6d9nUJh0Xr6PUego= -----END PUBLIC KEY----- You can also do this to view the algorithm that was detected from the private key file, as well as the raw bytes of the keys: ...


0

-in expects a filename and you're passing the encoded cypher text. Put the cypher text into a file input: MpTF1+cqa23PdxQ6EoG9E77jfRJGYjORc4omawTg/g8jtUDZNNEeEr3waadTSLjQAfmJO94fpaA145yanoU9khrzCd/nAGIIAVwMC67UnsX+XY6dOEZMo41Z0dU1n42rUtkdXgldHXR1SQXaeDyjRnMj/mMMreNdykl8b4vNVPk= and then try: openssl rsautl -decrypt -in input -out plaintext -inkey private....


Top 50 recent answers are included