Obtaining Security Configuration of CentraSite Application Server Tier
Pre-requisites:
To fetch the security communication for CentraSite Application Server Tier (CAST) through the Command Line Interface, you must have the CentraSite Administrator role.
You can view the SSL security values of CentraSite Application Server Tier environment.
CentraSite provides a command tool named get SSL AST for this purpose.
Run the command get SSL AST. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get SSL AST -file <CONFIG-FILE>
The input parameters are:
Parameter | Description |
CONFIG-FILE | The absolute or relative path to the XML configuration file, AST-config.xml, containing the security properties. If relative, the path should be relative to the location from where the command is executed. |
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd get SSL AST -file AST-config.xml
The response to this command is as follows:
Executing the command : get SSL AST
Successfully executed the command : get SSL AST
Sample AST-config.xml configuration file is as follows:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="com.softwareag.centrasite.security.keyStore">
C:/SoftwareAG/CentraSite/test/files/certs/castcert.p12
</entry>
<entry key="com.softwareag.centrasite.security.keyStorePassword">
cscert
</entry>
<entry key="com.softwareag.centrasite.security.keyStoreType">
PKCS12
</entry>
<entry key="com.softwareag.centrasite.security.trustStore">
C:/SoftwareAG/CentraSite/test/files/certs/casttrust.p12
</entry>
<entry key="com.softwareag.centrasite.security.trustStorePassword">
cscert
</entry>
<entry key="com.softwareag.centrasite.security.trustStoreType">
PKCS12
</entry>
</properties>