Hi all,

I manually created a RSA key some time ago using RSA_generate_key. Knowing the exponent, public and private key has always been enough, but since I'm now trying to use PHP with OpenSSL to sign data, a valid .pem file is required. So my questions is, how can I generate a .pem file from an existing RSA key?

And if this is not possible: How can I create a .pem file (preferably not using the command line) and read the RSA key out of it.

Many thanks in advance,
David
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to