Install Certificate Manager by script
This article includes updates for CM 8.12.
This article describes how to install CM servers and clients using script.
Execute the script
The properties script is loaded and executed via the -script switch command from the install shell scripts, that is, install_server.bat and install_server.sh.
Example:
install_server.bat -script install_server_script.properties
Type -help to see the available switch commands.
Use manual input
When a script is executed, it will run the normal CM installation, but the installation will be sequentially instructed from the defined parameters inside the properties file. However, it is possible to define parameters to be instructed manually by the user, just like a normal installation. This is done by the <USER_INPUT> parameter value.
Example:
database_user_password=<USER_INPUT>
Scramble sensitive parameters
Sensitive parameters, for example, passwords, can be scrambled. This is done by defining the keyword .encrypted after the target key parameter.
Scramble data in configuration files
For information about how to scramble data in configuration files, see Scramble sensitive data in configuration files in Protocol Gateway.
Values in the properties file that are marked .encrypted are scrambled by calling the installer with the -scramble switch command.
Example
install_server.bat -scramble -script install_server_script.properties
Properties to define for different components
It is essential to know before hand which properties your components requires. Note that all the required properties for a specific component MUST be defined in your properties file. Empty values are not permitted, so either give them a value or set them as <USER_INPUT>.
These tables list the parameters required (and optional) for each component.
Component (server) | Required properties | OS |
|---|---|---|
ALL |
| ALL |
SNMP |
| LIN |
JDBC/CMDB |
| ALL |
JDBC |
| ALL |
CMDB |
| ALL |
Component (server) | Optional properties | OS |
|---|---|---|
JAVA |
| WIN |
Component (clients) | Required properties | OS |
|---|---|---|
ALL |
| ALL |