RE: Error while trying to get text output from x509 cert file

2010-09-20 Thread Erik Tkal
rom: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Panikulam Vivek Sent: Monday, September 20, 2010 10:55 AM To: openssl-users@openssl.org Subject: Re: Error while trying to get text output from x509 cert file Thanks for your response. It looks like the .ce

Re: Error while trying to get text output from x509 cert file

2010-09-20 Thread Panikulam Vivek
:05 PM Subject: Re: Error while trying to get text output from x509 cert file Hi, The error says that it didn't find the expected start line for a certificate which is -BEGIN CERTIFICATE- . So, check that your certificate is indeed BASE64 encoded and that the first line is -

Re: Error while trying to get text output from x509 cert file

2010-09-20 Thread Gaiseric Vandal
Also, look out for blank/extra lines in the file.Microsoft IE may be OK with them but openssl may not be. On 09/19/2010 12:13 AM, Mounir IDRASSI wrote: Hi, The error says that it didn't find the expected start line for a certificate which is -BEGIN CERTIFICATE- . So, check that you

RE: Error while trying to get text output from x509 cert file

2010-09-19 Thread Gaiseric Vandal
Does the following work? openssl x509 -in TestCryptPublic.cert -text From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Panikulam Vivek Sent: Saturday, September 18, 2010 10:31 PM To: openssl-users@openssl.org Subject: Error while trying to get text

Re: Error while trying to get text output from x509 cert file

2010-09-18 Thread Mounir IDRASSI
Hi, The error says that it didn't find the expected start line for a certificate which is -BEGIN CERTIFICATE- . So, check that your certificate is indeed BASE64 encoded and that the first line is -BEGIN CERTIFICATE- and the last is -END CERTIFICATE- . Cheers, -- Mounir IDR

Error while trying to get text output from x509 cert file

2010-09-18 Thread Panikulam Vivek
Hi I am trying to get output from this x509 certificate and am getting the below error. Please let me know how to resolve this error and generate text output from this cert file. $ openssl x509 -in TestCryptPublic.cert -pubkey unable to load certificate 557096:error:0906D06C:PEM routines:PEM_re