Categories:
DH Keys (39)
DSA Keys (69)
EC Keys (336)
Firefox (32)
General (13)
Google Chrome (25)
Intermediate CA (152)
Java VM (20)
JDK Keytool (25)
Microsoft CertUtil (26)
Mozilla CertUtil (18)
OpenSSL (237)
Other (17)
Portecle (38)
Publishers (1966)
Revoked Certificates (30)
Root CA (87)
RSA Keys (1819)
Tools (47)
Tutorial (7)
What Is (21)
Windows (129)
Collections:
Other Resources:
"keytool -printcert" Command Examples - Print Certificate Info
How to use the "keytool -printcert" command? I want to see what to see more information about a certificate.
✍: FYIcenter.com
Here is an example of using "keytool -printcert" command to extract owner, issuer, serial number, expiration date and other information from a certificate:
C:\Users\fyicenter>"\Program Files\java\jre7\bin\keytool" -printcert -file 2nd_cert.pem Owner: CN=jar.fyicenter.com Issuer: CN=jar.fyicenter.com Serial number: e307f73 Valid from: Wed Jul 4 10:57:50 EDT 2012 until: Tue Oct 2 10:57:50 EDT 2012 Certificate fingerprints: MD5: 39:84:77:A9:11:9F:D0:72:A3:10:03:A2:2A:56:1A:57 SHA1: 8C:35:4B:1A:25:02:74:32:A8:2D:E4:01:E4:F3:93:13:F5:EE:C0:DA SHA256: 0E:53:6C:0F:D4:44:59:6B:38:24:C3:E5:D4:BB:F1:89:14:D5:39: 00:10:E0:C1:09:77:0A:6F:64:27:BE:4F:BE Signature algorithm name: SHA1withDSA Version: 3 Extensions: #1: ObjectId: 2.5.29.14 Criticality=false SubjectKeyIdentifier [ KeyIdentifier [ 0000: 72 5C D2 77 D4 D0 3A B9 33 B0 1B EE F8 2D 84 87 r\.w..:.3....-.. 0010: 32 58 2B DB 2X+. ] ]
What this command did for you:
Note that this is a self-signed certificate, because the issuer is the same as the owner: jar.fyicenter.com
2012-07-20, 15007👍, 0💬
Popular Posts:
How to export a certificate from a cert8.db file to a certificate file in DER binary format? If you ...
How to print out text information from a certificate using OpenSSL "x509" command? I want to see the...
How to search for certificates in all certificate stores using "certmgr.msc"? I want to see all cert...
What is "Java Control Panel" on Windows? I heard that it's a nice tool. The Java Control Panel is a ...
Certificate Summary: Subject: AlphaSSL CA - SHA256 - G2 Issuer: GlobalSign Root CA Expiration: 2024-...