RE: Error reading in certificate

2006-07-13 Thread Dawn R McClatchy
How do I please get removed from this mailing list?  I have no intelligent answer to contribute.    Dawn R McClatchyAlfred Thomas <[EMAIL PROTECTED]> wrote: >>d2i_X509_fp() is DER format. Try "rb" for the file mode. If it stilldoesn't work check the FAQ for details of how to >>get rea

RE: Error reading in certificate

2006-07-13 Thread Alfred Thomas
>>d2i_X509_fp() is DER format. Try "rb" for the file mode. If it still doesn't work check the FAQ for details of how to >>get readable error descriptions. Hi Steve I get the following 3 errors: Library: system library Function: fread Reason: Unknown error Library: BI

RE: Error reading in certificate

2006-07-13 Thread Alfred Thomas
>>Since it looks like you're using windows I'd first of all try "rb"-Mode for fopen... Thanks Ted. The application runs on Windows CE. "rb" did not help. I will try to find a better error description __ OpenSSL Project

RE: Error reading in certificate

2006-07-13 Thread Alfred Thomas
>>d2i_X509_fp() is DER format. Try "rb" for the file mode. If it still doesn't work check the FAQ for details of how to >>get readable error descriptions. >>Steve. Thanks Steve. "rb" did not work. Will look for error descriptions now. Regards Alfred __

Re: Error reading in certificate

2006-07-13 Thread Bernhard Froehlich
Alfred Thomas wrote: Hi I have a X509 certificate I want to read into a X509 structure. When I do the following SSL command: openssl x509 -inform DER -in d:\certs\test.der -pubkey it displays the valid Public key etc. Now I use the following to read the certificate: X509 * x509 = NULL; FI

Re: Error reading in certificate

2006-07-13 Thread Dr. Stephen Henson
On Thu, Jul 13, 2006, Alfred Thomas wrote: > Hi > > I have a X509 certificate I want to read into a X509 structure. When I do > the following SSL command: > openssl x509 -inform DER -in d:\certs\test.der -pubkey > it displays the valid Public key etc. > > Now I use the following to read the c

Error reading in certificate

2006-07-13 Thread Alfred Thomas
Hi I have a X509 certificate I want to read into a X509 structure. When I do the following SSL command: openssl x509 -inform DER -in d:\certs\test.der -pubkey it displays the valid Public key etc. Now I use the following to read the certificate: X509 * x509 = NULL; FILE * file = fopen(fileNa