This procedure establishes a secure connection between all of the CAS Command-line Utilities and the Web services running in the Endeca CAS Service. Recall that the CAS Command-line Utilities include the CAS Server Command-line Utility, the Component Instance Manager Command-line Utility, and the Record Store Command-line Utility.
To enable SSL in the CAS command-line utilities:
Property | Token to replace |
---|---|
javax.net.ssl.trustStore | @TRUSTSTORE_FILE@ |
javax.net.ssl.trustStorePassword | @TRUSTSTORE_PASSWORD@ |
javax.net.ssl.trustStoreType | JKS |
REM Setup the Trust Store SET JVM_ARGS=-Djavax.net.ssl.trustStore="C:\Endeca\CAS\workspace\conf\truststore.ks" %JVM_ARGS% SET JVM_ARGS=-Djavax.net.ssl.trustStoreType=JKS %JVM_ARGS% SET JVM_ARGS=-Djavax.net.ssl.trustStorePassword=endeca %JVM_ARGS%For example, on UNIX, uncomment and modify options similar to the following:
# Setup the Trust Store JVM_ARGS="$JVM_ARGS -Djavax.net.ssl.trustStore=$CAS_WORKSPACE/conf/truststore.ks" JVM_ARGS="$JVM_ARGS -Djavax.net.ssl.trustStoreType=JKS" JVM_ARGS="$JVM_ARGS -Djavax.net.ssl.trustStorePassword=endeca"
Property | Token to replace |
---|---|
javax.net.ssl.keyStore | @KEYSTORE_FILE@ |
javax.net.ssl.keyStorePassword | @KEYSTORE_PASSWORD@ |
javax.net.ssl.keyStoreType | JKS |
SET JVM_ARGS=-Djavax.net.ssl.keyStore="C:\Endeca\CAS\workspace\conf\keystore.ks" %JVM_ARGS% SET JVM_ARGS=-Djavax.net.ssl.keyStoreType=JKS %JVM_ARGS% SET JVM_ARGS=-Djavax.net.ssl.keyStorePassword=endeca %JVM_ARGS%For example, on UNIX you uncomment and modify options similar to the following:
JVM_ARGS="$JVM_ARGS -Djavax.net.ssl.keyStore=$CAS_WORKSPACE/conf/keystore.ks" JVM_ARGS="$JVM_ARGS -Djavax.net.ssl.keyStoreType=JKS" JVM_ARGS="$JVM_ARGS -Djavax.net.ssl.keyStorePassword=endeca"
Property name | Description |
---|---|
com.endeca.itl.cas.server.host | Specify the fully qualified name of the machine running the command-line utility. |
com.endeca.itl.cas.server.port | Specify the port for Endeca CAS Service. |
com.endeca.itl.cas.server.isPortSsl | Specify how to interpret the CAS port setting.
A value of true means that com.endeca.itl.cas.server.port is an SSL port and CAS Console uses HTTPS for connections. A value of false means that com.endeca.itl.cas.server.port is a non-SSL port and CAS Console uses HTTP for connections. The default is false. Specify false if you enabled HTTPS redirects. |