Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You are getting that error because the <code>keytool</code> executable is under the <code>bin</code> directory, not the <code>lib</code> directory in your example. And you will need to add the location of your <code>keystore</code> as well in the command line. There is a pretty good reference to all of this here - <a href="http://helpx.adobe.com/coldfusion/kb/import-certificates-certificate-stores-coldfusion.html" rel="noreferrer">Jrun Help / Import certificates | Certificate stores | ColdFusion</a></p> <blockquote> <p>The default truststore is the JRE's cacerts file. This file is typically located in the following places:</p> <ul> <li><p><strong>Server Configuration:</strong></p> <p>cf_root/runtime/jre/lib/security/cacerts</p></li> <li><p><strong>Multiserver/J2EE on JRun 4 Configuration:</strong></p> <p>jrun_root/jre/lib/security/cacerts</p></li> <li><p><strong>Sun JDK installation:</strong></p> <p>jdk_root/jre/lib/security/cacerts</p></li> <li><p>Consult documentation for other J2EE application servers and JVMs</p></li> </ul> </blockquote> <hr> <blockquote> <p>The keytool is part of the Java SDK and can be found in the following places:</p> <ul> <li><p><strong>Server Configuration:</strong></p> <p>cf_root/runtime/bin/keytool</p></li> <li><p><strong>Multiserver/J2EE on JRun 4 Configuration:</strong></p> <p>jrun_root/jre/bin/keytool</p></li> <li><p><strong>Sun JDK installation:</strong></p> <p>jdk_root/bin/keytool</p></li> <li><p>Consult documentation for other J2EE application servers and JVMs</p></li> </ul> </blockquote> <p>So if you navigate to the directory where the <code>keytool</code> executable is located your command line would look something like this:</p> <pre><code>keytool -list -v -keystore JAVA_HOME\jre\lib\security\cacert -storepass changeit </code></pre> <p>You will need to supply pathing information depending on where you run the keytool command from and where your certificate file resides.</p> <p><em>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.</em></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload