Installing CADP for C on Linux
This section covers how to install CADP for C on Linux. You can install CADP for C on Linux in the following two ways:
Note
To generate SSL/TLS certificates using the CADP for C installer, the CipherTrust Manager user must have the
CA Admins
,Read-Only Admins
, andKey Users
privileges.The system admin needs to check the user and group permissions for non-root users who need to access the installation directory and files.
Using Installation Script
Note
If you plan to use an external Certificate Authority (CA) with the CipherTrust Manager and CADP for C, then you will need to configure the SSL settings for the CADP for C (client) manually. During the CADP for C installation, enter TCP as the Key Management Server Protocol when prompted. Then after the installation, manually configure the client for SSL settings. Refer to Configuring the Client for more information.
If you plan to use multiple CM servers/Cluster, you can proceed with installing the certificates by providing a single CM IP in the installer first. Post-installation, you can manually configure the client for multiple servers.
Download the CADP for C installation file from the Thales Customer Support Portal.
Log on to the client machine on which to install CADP for C.
Unzip and untar the installation file. The untar process creates a directory called CADP_for_C-x.xx.0.000.
Navigate to the CADP_for_C-x.xx.0.000 directory.
Install CADP for C by running
install.sh
.The next screen displays the End User License Agreement.
Read the agreement. If you agree with the terms of the end-user license agreement, accept it by entering
Y
for yes.Specify the installation folder
<install_folder>
in which to store the installation to complete the installation. The default folder is/opt
. If you wish to change this, enter the name of the folder to use for this installation. Otherwise, press Enter to accept the default.Enter the Key Management Server information to be used to communicate with the CipherTrust Manager. After providing the Server IP Address/Hostname, you will be prompted with the message "Do you want to use Registration Token(y/n)". Default value is 'n'.
If you enter 'y':
- You need to enter Server IP Address/Hostname, Server Port, Registration token, and Passphrase (to protect client's private key). To know more about creating a registration token, click here.
Note
• Registration token is supported with CipherTrust Manager 2.15.0 and above.
• Registration token must be provided in ASCII format.If you are using Domain CA while creating the client profile, refer to the steps mentioned on this link.
If you enter 'n':
- Installer will proceed without the registration token as earlier. Follow the prompts to enter the information as per your environment.
- Installer will proceed without the registration token as earlier. Follow the prompts to enter the information as per your environment.
Note
• In case of TCP protocol, make sure you enter the correct IP address and TCP port as any invalid entry may cause error and can only be caught after running the sample application.
• After installation, if you have selected SSL protocol, ensure that there is no error log present in<install_folder>/logs/cadp_for_c_basic.log
. If there are any error in the logs, you need to re-run the installer with correct values.If you specified to use the SSL protocol in the previous step, enter the information to be incorporated into a Certificate Signing Request (CSR) for the SSL client certificate:
For example:
On successful installation, the message
CADP for C is completed
displays.
Silent Installation
For the silent installation on Linux, you will need to provide the basic configuration settings in the configuration file named cadp_for_c_basic.conf
first. During the silent installation, the CADP_PKCS11.properties
and CADP_CAPI.properties
files are automatically updated with the settings you provide in the configuration file.
For more information about the configuration file and how to configure it, see Modifying the CADP for C Configuration File.
To install CADP for C on Linux silently:
Modify the
cadp_for_c_basic.conf
file as per your environment. If you want to use the registration token while installing CADP for C, you must update the config file with a new parameter REG_TOKEN. The default value of this parameter would be empty.If you provide the value of REG_TOKEN, provide the details of SERVER_IP, SERVER_PORT, and PASSPHRASE)
If the value of REG_TOKEN is empty, then installer will proceed without the registration token as earlier.
Execute the following command:
Where:
-c: Indicates the path to the 'cadp_for_c_basic.conf' configuration file.
-d: Indicates the path to the CADP for C installation folder in which to store the installation.
-y: Indicates to accept end-user license agreement (EULA).
For example:
On successful installation, the message
CADP for C Installation is completed!
displays.
Note
After installation, if you have selected SSL protocol, ensure that there is no error log present in <install_folder>/logs/cadp_for_c_basic.log
. If there are any error in the logs, you need to re-run the installer with correct values.
Client Certificate Renewal
To know how to renew the client certificate, click here.