This is a discussion on Re: howto generate RSA key from components? - Openssl ; On Wed, Apr 11, 2007, Iain Pople wrote: > Hi, > > I am trying to replace a legacy system with openssl. The legacy system > used RSA keys but stored them in its own format. I can extract the ...
On Wed, Apr 11, 2007, Iain Pople wrote:
> I am trying to replace a legacy system with openssl. The legacy system
> used RSA keys but stored them in its own format. I can extract the RSA
> components but I'm not sure how to generate a PEM formatted RSA key.
> What is the easiest way to do this? Can the command line tools do it, or
> do I need to use the API?
You can use the mini-ASN1 compiler in OpenSSL 0.9.8 with the asn1parse
There is an example of how to generate an RSAPrivateKey structure in the
ASN1_generate_nconf manual page which can be fed to asn1parse.
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
OpenSSL Project http://www.openssl.org
User Support Mailing List email@example.com
Automated List Manager firstname.lastname@example.org