<div dir="ltr">Thank you very much. <div>So the output of "<b>openssl rsa -in mykey.pem -text -noout</b>" is a base64 hex format?</div><div><br></div><div>Regards,</div><div>Shariful </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 3, 2021 at 7:55 AM Matt Caswell <<a href="mailto:matt@openssl.org">matt@openssl.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 03/09/2021 14:49, Billy Brumley wrote:<br>
>>> Hello,<br>
>>> Is there any command-line tool to get the plain text rsa private key<br>
>>> like the following format from .pem file?<br>
>><br>
>> openssl rsa -in mykey.pem -noout -text<br>
> <br>
> It would in fact be much more educational to advocate pkey, which is<br>
> cryptosystem agnostic<br>
<br>
Good point!<br>
<br>
Matt<br>
<br>
> <br>
> openssl pkey -in mykey.pem -noout -text<br>
> <br>
> Since I would expect the rsa command to go the same was as the rsautl<br>
> command in the future.<br>
> <br>
> Happy Friday!<br>
> <br>
> BBB<br>
> <br>
</blockquote></div>