Sample output:
java IsCertTrusted thawte.cer cacerts
SubjectName:
CN=Michel I. Gallant, OU=Secure Application Development, O=Michel I. Gallant, L=Ottawa, ST=Ontario, C=CA
IssuerName:
EMAILADDRESS=server-certs@thawte.com, CN=Thawte Server CA, OU=Certification Serv
ices Division, O=Thawte Consulting cc, L=Cape Town, ST=Western Cape, C=ZA
Searching in keystore for the issuer's certificate ...
Password to keystore for integrity check: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Found matching issuer DN cert in keystore:
Checking signature on cert ...
Signature verified on certificate
If the certificate is a self-signed certificate, the certificate signature is directly verified.
Michel I. Gallant
neutron@istar.ca