Soul Fire wrote:
> 
> Folks,
> 
> Any ideas as to why this is happening ?
> 
> $ openssl pkcs12 -in ./newcert.pem -inkey ./newreq.pem  -certfile 
>../private/CAcert.pem -out newcert.p12
> 
> 3652:error:0D06B078:asn1 encoding routines:ASN1_get_object:header too 
>long:asn1_lib.c:139:
> 

You need the -export flag to produce a PKCS#12 file. Without it it
assumes your input is a PKCS#12 file which it isn't, hence the error.

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.

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

Reply via email to