I am trying to discover the list of trusted authorities in my Java Runtime using the instructions in this article. When I typed the command below: Show
I got the following error:
I checked that the directory containing my keytool
executable is in the path. (On my Windows 7 machine, it's in I'm assuming that there are two separated commands mentioned in the doc:
EDIT: By the way can I use the following process instead of complex steps mentioned in the answer?
I decided to select option This question is tagged with ~ Asked on 2013-10-17 16:06:55 The Best Answer isYou are getting that error because the
So if you navigate to the directory where the
You will need to supply pathing information depending on where you run the keytool command from and where your certificate file resides. Also, be sure you are updating the correct cacerts file that ColdFusion is using. In case you have more than one JRE installed on that server. You can verify the JRE ColdFusion is using from the administrator under the 'System Information'. Look for the Java Home line. ~ Answered on 2013-10-17 16:18:04
~ Answered on 2016-10-17 13:26:10 Most Viewed Questions:
How do you fix Keytool is not recognized as an internal or external command?all you have to do is go to environment variables, click PATH to make it active, then click edit, then add complete path where your keytool is, for me i will add C:\Program Files\Java\jre7\bin this will allow you to execute keytool commands without going to the directory where keytool is installed.
How do I fix Keytool not found?Add the keytool folder to your system PATH (on Windows)
In order to run keytool from the command line, you need to add it to your system PATH. This step is required on Windows only, as keytool will is automatically installed on /usr/bin on macOS/Linux.
How do I enable Keytool?To get android key hash code follow these steps (for facebook apps). Download the openssl for windows here.. now unzip to c drive.. open cmd prompt.. type cd C:\Program Files\Java\jdk1.6.0_26\bin.. How do I run a Keytool in Linux?For keytool and jarsigner(1), you can specify a keystore type at the command line, via the -storetype option. For Policy Tool, you can specify a keystore type via the "Change Keystore" command in the Edit menu.
|