After configuring the CA Configuration Automation Server to use HTTPS, you must copy the ccaca.cert file from the CA Configuration Automation Server host to the computer from which you want to run ccautil, then import it into the JRE key store.
Follow these steps:
Ensure that the cacert certificate file is in this directory.
If you installed the CA Configuration Automation Server in the default location, the ccaca.cer file is located in one of the following locations:
%JRE_HOME%\bin\keytool -import -trustcacerts -keystore cacerts -storepass changeit -noprompt -alias acmca -file <path>\ccaca.cer
%JRE_HOME%\bin\keytool -importcert -trustcacerts -file <path>\ccaca.cer -keystore cacerts -storepass changeit -noprompt -alias ccaca
The keytool import command copies the file, and ccautil can be accessed using HTTPS as follows:
ccautil -task listservers -s https://ccaservername:8080 -u username -p password.
Notes:
keytool error: java.lang.RuntimeException: Usage error, ûfile is not a legal command
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|