I need a simple sequence to generate an RSA private key and to save into a
PKCS12 file.

I tried to generate the RSA key as in the eay example, converted it to der,
converted from der to EVP and pass it to the
PKCS12_create

function.

I don't have a certificate for this key, so the PKCS12_create complains
about an invalid NULL parameter (my guess was to pass it a NULL pointer for
the Certificate argument).

Is there another quick way to do it?

I'm in a hurry and i didn't search the FAQs, please be patient :-)

Thanks in advance
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to