In message <[EMAIL PROTECTED]> on Sat, 27 Mar 2004 16:05:52 -0500, Ohaya <[EMAIL 
PROTECTED]> said:

ohaya> Hi,
ohaya> 
ohaya> I'm trying to work with getting a CA cert installed. 
ohaya> 
ohaya> I downloaded it using IE, and ended up with a .CER file, but in Windows,
ohaya> when I click on the .CER file, I get an error box "Invalid Public Key
ohaya> Security Object File"/"This is an invalid Security Certificate".
ohaya> 
ohaya> I tried to display the contents of the .CER file using openssl, but got
ohaya> a "NO START LINE" error, so I dumped the raw file, and it appears to be
ohaya> DER (actually, it looks like several certificates appended to each
ohaya> other)?  So I tried to use openssl X509 to convert it to PEM using
ohaya> something like:
ohaya> 
ohaya> openssl X509 -in myca.cer -inform DER -out myca.pem -outform PEM
ohaya> 
ohaya> but I'm getting errors:
ohaya> 
ohaya> E:\OpenSSL>openssl x509 -in myca.cer -inform DER -out myca.pem -outform
ohaya> PEM
ohaya> unable to load certificate
ohaya> 1472:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong
ohaya> tag:.\crypto\as
ohaya> n1\tasn_dec.c:946:
ohaya> 1472:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1
ohaya> error:.\
ohaya> crypto\asn1\tasn_dec.c:304:Type=X509_CINF
ohaya> 1472:error:0D08303A:asn1 encoding routines:ASN1_TEMPLATE_D2I:nested asn1
ohaya> error:.
ohaya> \crypto\asn1\tasn_dec.c:566:Field=cert_info, Type=X509

As long as the file only contains a certificate, it should be safe for
you to share it, as it only contains public information.  Care to send
me a copy, as an attachment?

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte   \ Tunnlandsvägen 52 \ [EMAIL PROTECTED]
[EMAIL PROTECTED]  \ S-168 36  BROMMA  \ T: +46-708-26 53 44
                    \      SWEDEN       \
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to