I already tried this command, but its not giving any information showing wheter its a root certificate or a client certificate. - Harshvir On Fri, Sep 16, 2011 at 1:53 PM, Jakob Bohm <jb-open...@wisemo.com> wrote:
> On 9/16/2011 7:58 PM, Harshvir Sidhu wrote: > >> Hi, >> In openssl is there some method using which i can find whether the >> cerficiate in a file a Client Certificate or a CA/Root Certificate? >> - H S >> > Try the following command, at look for the CA property and also see > if the certificate lists itself or someone else as issuer: > > openssl x509 -in somecert.cer -noout -text >somecert.txt > > (somecert.txt will then contain a nice human readable printout of the > certificate) > > ______________________________**______________________________**__________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org >