<div dir="ltr">Thank you very much<div><br></div><div>Regards,</div><div>Shariful Alam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 3, 2021 at 10:29 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 17:24, Shariful Alam wrote:<br>
> Thank you very much.<br>
> So the output of "*openssl rsa -in mykey.pem -text -noout*" is a base64 <br>
> hex format?<br>
<br>
It's a hex format. "base64 hex" makes no sense. base64 is not hex, and <br>
vice versa.<br>
<br>
Matt<br>
<br>
> <br>
> Regards,<br>
> Shariful<br>
> <br>
> On Fri, Sep 3, 2021 at 7:55 AM Matt Caswell <<a href="mailto:matt@openssl.org" target="_blank">matt@openssl.org</a> <br>
> <mailto:<a href="mailto:matt@openssl.org" target="_blank">matt@openssl.org</a>>> wrote:<br>
> <br>
> <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<br>
> 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>
> <br>
</blockquote></div>