How to Find the Java Keytool on Windows


How to find the Java Keytool on my Windows system? I think I have Java installed.



Keytool is nice free certificate tool provided by Oracle as part of the Java software. If you have Java installed on your Windows computer, you can find it using these suggestions:

1. Try to find the folder "C:\Program Files\Java\jre7\bin". Scroll down in the file list, you should see "keytool.exe" displayed. Java Keytool Location on Windows

2. If not found, try the other folder like: "C:\Program Files\Java\jdk1.7.0_05\bin", if JDK is installed without JRE.

3. Once located, start a command line window by entering "cmd.exe" after clicking the Windows "Start" button.

4. Try the "keytool" command in the command line window:

C:\Users\fyicenter>"\Program Files\java\jre7\bin\keytool.exe"

Key and Certificate Management Tool

 -certreq            Generates a certificate request
 -changealias        Changes an entry's alias
 -delete             Deletes an entry
 -exportcert         Exports certificate
 -genkeypair         Generates a key pair
 -genseckey          Generates a secret key
 -gencert            Generates certificate from a certificate request
 -importcert         Imports a certificate or a certificate chain
 -importkeystore     Imports one or all entries from another keystore
 -keypasswd          Changes the key password of an entry
 -list               Lists entries in a keystore
 -printcert          Prints the content of a certificate
 -printcertreq       Prints the content of a certificate request
 -printcrl           Prints the content of a CRL file
 -storepasswd        Changes the store password of a keystore

Use "keytool -command_name -help" for usage of command_name

2017-03-07, 101798👍, 7💬