RE: d2i_X509() failed.

2004-07-13 Thread sakthi.subramaniam
] 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 format buffer contains valid certificates of 2048 bytes

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

RE: d2i_X509() failed.

2004-07-13 Thread sakthi.subramaniam
:[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 apart from PEM/DER? In that case how can we convert the PKCS

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

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() failed. [EMAIL PROTECTED

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

2004-07-13 Thread Erwann Abalea
with a stream of 0xff characters, followed by 0x00 characters. But it starts as a certificate. 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

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

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. [EMAIL PROTECTED] wrote: ... What

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

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