On Wed, Feb 24, 2010, Lewis Kapell wrote:

>
> A bit of research leads me to conclude that the public-key file is not in 
> the correct format.  It is XML formatted with sections RSAKeyValue, Modulus 
> and Exponent.  I gather that openssl requires the key in a format called 
> SubjectPublicKeyInfo.  So much seems to be clear; however, I have not been 
> able to learn whether my existing public key can be converted into this 
> format, or whether I am forced to generate a new key.
>
> I would be most grateful if anyone can shed any light on this. Apologies if 
> this has been covered on the list before - I did search the  archives, and 
> found some discussions that addressed some of these issues, but they seemed 
> to assume prior knowledge which I lack.
>

Well others might comment on the wisdom of using rsautl like this but here's a
pointer to the public key issue:

http://www.openssl.org/docs/apps/asn1parse.html#

and especially:

http://www.openssl.org/docs/crypto/ASN1_generate_nconf.html#EXAMPLES

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to