Press the Generate Key Pair button to start filling the keystore file with authentication keys.Open KeyStore Explorer and press the button Create a new KeyStore to start creating a keystore file. Repeat steps 2 and 3 for any terminal window in which you want to use the keytool command.Return to a directory that belongs to your user name:.Add the directory where keytool.exe resides to the PATH variable.Download and install a recent version of the JRE from Oracle.Both Oracle’s JDK and OpenJDK ship with it, and on MacOS and Linux it’s usually simple enough to just install the JDK and call it a day. Keytool is a standard program that ships with the Java Development Kit (JDK) or runtime (JRE). You can locate the Java home directory using the /usr/libexec/java_home command line tool on Mac OS X 10.5 or later. To answer the original question, on my Mac, keytool is found at /Library/Java/JavaVirtualMachines/jdk1.
0 Comments
Leave a Reply. |