On Fri, Jul 03, 2009, hce wrote:
> Hi,
>
> I have a set of RSA string keys (N, E, D, Q, P, DP, DQ and QP). Can I
> generate a key, ceritificate and CA certificate based on those RSA
> string keys (N, E, D, Q, P, DP, DQ and QP) for SSL server and SSL
> client? If so, could you give an example how can I call openssl to do
> it?
>
First you need a private key file. There is an example in the
AN1_generate_nconf manual page which you can use as a template to feed into
the asn1parse utility which will output the result in DER format.
Once you have that in DER format you can convert the key to PEM and from then
on generate whatever you want with it.
Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see:
http://www.openssl.org______________________________________________________________________
OpenSSL Project
http://www.openssl.orgUser Support Mailing List
openssl-users@...
Automated List Manager
majordomo@...