Configure CertAgent with the Futurex PKCS #11 Library
The CertAgent package for Linux platforms consists of a zip archive that you may unzip into any directory on your server while preserving the directory structure.
In a terminal, go to the certagent<version>-install directory. This directory should have the install.sh file.
The CertAgent installer requires you to specify the location of the PKCS #11 (FXPKCS11) directory in the LD_LIBRARY_PATH environment variable. Run the following command to set the LD_LIBRARY_PATH variable and run the CertAgent installer in the same command:
The path to the FXPKCS11 library must be specific to the installed location on your system.
The output should be similar to the following example:
Select the Enter key to confirm that the required directories are specified in the LD_LIBRARY_PATH variable.
Scroll through the license agreement and accept it. The first prompt after the license agreement is particularly important. It looks like the following example:
Make sure to select the first option. You want to install the Tomcat and HyperSQL database server automatically and generate TLS credentials using the HSM.
For all prompts not specifically mentioned here, select the default value.
At the following prompt, select option number one.
When the installer prompts for the location of the HSM library, provide the full path to the libfxpkcs11.so.
If using an older version of CertAgent (such as CertAgent 6), the installer asks for the HSM label. Leave the field blank and proceed with the rest of the installation.
The next prompt displays something similar to the following example:
Confirm that you want to use the partition that it found, then enter the password of the HSM identity that is defined in the FXPKCS11 configuration file (fxpkcs11.cfg).
Next, CertAgent creates several different keys and certificates on the Vectera Plus. Accept the default values for all prompts.
When prompted to enter passwords for several different items, specify a password of your choice for each instance.
If the CertAgent installation completes successfully, output similar to the following example displays:
Run the following command to set the system PIN: