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 your certificate is indeed BASE64 encoded and that the
first line is -----BEGIN CERTIFICATE----- and the last is -----END
CERTIFICATE----- .

Cheers,
--
Mounir IDRASSI
IDRIX
http://www.idrix.fr

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_read_bio:no start
line:pem_lib.c:647:Expecting: TRUSTED CERTIFICATE


Regards
Vivek Panikulam




______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to