Hi I tried and I am getting following output openssl x509 -inform PEM -in online.crt -noout -text > text.txt unable to load certificate 844:error:0906D06C:PEM routines:PEM_read_bio:no start line:.\crypto\pem\pem_lib. c:650:Expecting: TRUSTED CERTIFICATE
openssl x509 -inform DER -in online.crt -noout -text unable to load certificate 3756:error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag:.\crypto\as n1\tasn_dec.c:1316: 3756:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:.\ crypto\asn1\tasn_dec.c:380:Type=X509 Sorry its actually a digital signature and i need to verify it Jakob Bohm-7 wrote: > > On 05-10-2010 07:01, colombus wrote: >> >> Hi >> >> I am new Cryptography and Open SSl I have file online.crt The spec says >> it >> contains an online certificate which is having a public key , a signature >> filed etc. I want extract these details from the file I need to know what >> type of file is online.crt Is there any open SSL command to find or >> verify >> it ?? > > openssl x509 -inform DER -in online.crt -noout -text > > OR if the CRT file looks like some text with a lot of ---- at the top: > > openssl x509 -inform PEM -in online.crt -noout -text > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [email protected] > > -- View this message in context: http://old.nabble.com/Require-help-to-understand-a-.crt-file-tp29883887p29890133.html Sent from the OpenSSL - User mailing list archive at Nabble.com. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
