This document has not been formally reviewed for accuracy and is provided "as is" for your convenience.
Summary
Error
In case Command Line Interface (CLI) commands in scripts are used to manage storage on Storage Essentials (SE) managment server receiving following error message:
%MGR_DIST%\CLI\bin\bin\bin>appiqlist -fabric -all –host
java.security.KeyStoreException: JCEKS not found
at java.security.KeyStore.getInstance(Unknown Source)
at com.appiq.security.AbstractSecurityManager.init(AbstractSecurityManager.java:127)
at com.appiq.security.FileBasedSecurityManager.<init>(FileBasedSecurityManager.java:32)
at com.appiq.security.SecurityManagerFactory.<clinit>(SecurityManagerFactory.java:56)
at com.appiq.security.EncryptedString.decrypt(EncryptedString.java:90)
at com.appiq.cli.AppIQCLI.getAPIConnection(AppIQCLI.java:796)
at com.appiq.cli.AppIQCLI.run(AppIQCLI.java:353)
at com.appiq.cli.AppIQCLI.main(AppIQCLI.java:131)
Caused by: java.security.NoSuchAlgorithmException: JCEKS KeyStore not available
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at java.security.Security.getImpl(Unknown Source)
Cause
CLI needs to be run only from a remote server.
Do not use the CLI that is installed with the management server. The CLI on the management server is intended only for internal use by the software.
Proper command to connect to the SE managment server is:
C:\APPQ\CLI\bin\cli.bat -set -appiqcli -username <user> -password <password> -server <FQDN_Server_name>
when login is successful the output is:
CLI configuration is set; ready to issue commands.