How to get rsa-private key in plain text format?

Shariful Alam dipto181 at gmail.com
Fri Sep 3 16:40:46 UTC 2021


Thank you very much

Regards,
Shariful Alam

On Fri, Sep 3, 2021 at 10:29 AM Matt Caswell <matt at openssl.org> wrote:

>
>
> On 03/09/2021 17:24, Shariful Alam wrote:
> > Thank you very much.
> > So the output of "*openssl rsa -in mykey.pem -text -noout*" is a base64
> > hex format?
>
> It's a hex format. "base64 hex" makes no sense. base64 is not hex, and
> vice versa.
>
> Matt
>
> >
> > Regards,
> > Shariful
> >
> > On Fri, Sep 3, 2021 at 7:55 AM Matt Caswell <matt at openssl.org
> > <mailto:matt at openssl.org>> wrote:
> >
> >
> >
> >     On 03/09/2021 14:49, Billy Brumley wrote:
> >      >>> Hello,
> >      >>> Is there any command-line tool to get the plain text rsa
> >     private key
> >      >>> like the following format from .pem file?
> >      >>
> >      >> openssl rsa -in mykey.pem -noout -text
> >      >
> >      > It would in fact be much more educational to advocate pkey, which
> is
> >      > cryptosystem agnostic
> >
> >     Good point!
> >
> >     Matt
> >
> >      >
> >      > openssl pkey -in mykey.pem -noout -text
> >      >
> >      > Since I would expect the rsa command to go the same was as the
> rsautl
> >      > command in the future.
> >      >
> >      > Happy Friday!
> >      >
> >      > BBB
> >      >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20210903/f35e34a2/attachment-0001.html>


More information about the openssl-users mailing list