Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (70)
EC Keys (976)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (3305)
Revoked Certificates (16)
Root CA (85)
RSA Keys (2647)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
Java "keytool -printcert" Command Options
What options are supported by the "keytool -printcert" command?
✍: FYIcenter.com
Java Keytool can be used to printout owner, issuer, serial number and other information
from a certificate using the "keytool -printcert" command, which supports the following options:
C:\Users\fyicenter> keytool -printcert -help keytool -printcert [OPTION]... Prints the content of a certificate Options: -rfc output in RFC style -file <filename> input file name -sslserver <server[:port]> SSL server host and port -jarfile <filename> signed jar file -v verbose output Use "keytool -help" for all available commands
The "keytool -printcert" command reads the certificate from the file cert_file, the SSL server located at host:port, or the signed JAR file JAR_file (with the option -jarfile and prints its contents in a human-readable format. When no port is specified, the standard HTTPS port 443 is assumed. Note that -sslserver and -file options cannot be provided at the same time. Otherwise, an error is reported. If neither option is given, the certificate is read from stdin.
If -rfc is specified, keytool prints the certificate in PEM mode as defined by the Internet RFC 1421 standard.
If the certificate is read from a file or stdin, it may be either binary encoded or in printable encoding format, as defined by the Internet RFC 1421 standard
If the SSL server is behind a firewall, -J-Dhttps.proxyHost=proxyhost and -J-Dhttps.proxyPort=proxyport can be specified on the command line for proxy tunneling. See the JSSE Reference Guide for more information.
Note that the "keytool -printcert" command can be used independently of a keystore.
⇒ "keytool -printcert" Command Examples - Print Certificate Info
⇐ "keytool -list" Command Examples - List Keystore Entries
2012-07-19, 13732👍, 0💬
Popular Posts:
Certificate summary - Owner: SERIALNUMBER=10688435, Starfield Secure Certification Authority, http:/...
What is "certmgr.msc" on Windows computer? What can I use it for? "certmgr.msc" is a predefined MMC ...
Certificate summary - Owner: *.acesse.com, Domain Control Validated Issuer: SERIALNUMBER=07969287, G...
How to export the server certificate to a file in Firefox? I can view the server certificate used by...
Certificate summary - Owner: www.ameba.jp, Ameba Section, Cyber Agent ltd, L=Shibuya-ku Dougenzaka 2...