Re: d2i_X509() failed.

2004-07-13 Thread Nils Larsch
[EMAIL PROTECTED] wrote: Thanks for the link.. Did you get the dump I have sent? yes, but as Erwann Abalea already wrote is the certificate not correct Nils __ OpenSSL Project http://www.openssl.org

RE: d2i_X509() failed.

2004-07-13 Thread sakthi.subramaniam
Thanks for the link.. Did you get the dump I have sent? >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Nils Larsch >Sent: Tuesday, July 13, 2004 6:29 PM >To: [EMAIL PROTECTED] >Subject: Re: d2i_X509() failed. > >

Re: d2i_X509() failed.

2004-07-13 Thread Nils Larsch
[EMAIL PROTECTED] wrote: ... What is dumpasn1? How can I take that? It's nice ASN.1 tool written by Peter Gutmann, see: http://www.cs.auckland.ac.nz/~pgut001/ Nils __ OpenSSL Project http://www.opens

Re: [openssl-users] RE: d2i_X509() failed.

2004-07-13 Thread Erwann Abalea
s Larsch > >Sent: Tuesday, July 13, 2004 5:47 PM > >To: [EMAIL PROTECTED] > >Subject: Re: d2i_X509() failed. > > > > > >[EMAIL PROTECTED] wrote: > >> Hi., > >> I will be getting the certificates in a buffer in DER format.The > >> buff

RE: d2i_X509() failed.

2004-07-13 Thread sakthi.subramaniam
Attached the cert dump.. What is dumpasn1? How can I take that? Thanks., Sakthi S G >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Nils Larsch >Sent: Tuesday, July 13, 2004 5:47 PM >To: [EMAIL PROTECTED] >Subject: Re: d2i_X509() f

Re: d2i_X509() failed.

2004-07-13 Thread Nils Larsch
[EMAIL PROTECTED] wrote: Hi., I will be getting the certificates in a buffer in DER format.The buffer of 2048 bytes contains the following data I am copying the initial few bytes and then the trailing bytes.: With the start bytes we can identify as DER format. When I pass this buffer to d2i_X509()

RE: d2i_X509() failed.

2004-07-13 Thread sakthi.subramaniam
PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Nils Larsch >Sent: Tuesday, July 13, 2004 4:27 PM >To: [EMAIL PROTECTED] >Subject: Re: d2i_X509() failed. > > >[EMAIL PROTECTED] wrote: >> Hi ., >> Is it possible that to have certificates in other formats like PKCS >

Re: d2i_X509() failed.

2004-07-13 Thread Nils Larsch
[EMAIL PROTECTED] wrote: Hi ., Is it possible that to have certificates in other formats like PKCS apart from PEM/DER? In that case how can we convert the PKCS to X509 format?Is there any interface available on openssl? What way we can identify the format of the certificate. According to my unders

RE: d2i_X509() failed.

2004-07-13 Thread sakthi.subramaniam
t;To: [EMAIL PROTECTED] >Subject: d2i_X509() failed. > > >Hi., > I am using d2i_x509() function for converting the >certificates from DER to PEM. It is failing at file >:tasn_dec.c function:asn1_template_ex_d2i() line number 353. >( version 0.9.7c and 0.9.7b also) The DER

d2i_X509() failed.

2004-07-12 Thread sakthi.subramaniam
Hi., I am using d2i_x509() function for converting the certificates from DER to PEM. It is failing at file :tasn_dec.c function:asn1_template_ex_d2i() line number 353. ( version 0.9.7c and 0.9.7b also) The DER format buffer contains valid certificates of 2048 bytes. At the end it has the sequenc