The CertAgent package for Linux platforms consists of a zip archive that you can unzip (with directory structure preserved) into any convenient directory on your server hard drive.
Perform the following steps to set the LD_LIBRARY_PATH environment variable and run the CertAgent installer:
1
In a terminal, go to the certagent<version>-install directory. This directory should contain the install.sh file.
2
The CertAgent installer requires the location of the Futurex PKCS #11 (FXPKCS11) directory to be specified 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 needs to be specific to where it is installed on your system.
******************************************************************************CertAgent Installation 7.0.8Copyright(c) 2020 Information Security Corp. All rights reserved.******************************************************************************You are going to install CertAgent 7.0.8.An HSM is required to be installed. Credentials will begenerated on the HSM during the installation.The following information is required during the installation process:- 64-bit Java 8, 11, or above installation directory- 64-bit HSM library, label, and PIN- if an existing Oracle, PostgreSQL, or HyperSQL database will be used,the location of the JDBC driver, access URL, user name and password forthe Oracle, PostgreSQL, or HyperSQL database; otherwise, an HyperSQLdatabase will be installed and requires a listening port- system hostname or IP address- TLS port for the administrator site- TLS port for the public siteThe following directories must be specified in the LD_LIBRARY_PATH variable:- the 64-bit HSM libraries- the Oracle Instant Client libraries (if OCI driver will be used)LD_LIBRARY_PATH is currently set to:/usr/local/bin/fxpkcs11Are the required directories specified in theLD_LIBRARY_PATH? [yes]:
3
Hit Enter to confirm that the required directories are specified in the LD_LIBRARY_PATH variable.
4
Next, you must scroll through the license agreement and then accept it.The first prompt after the license agreement is particularly important. It should look similar to the following example:
Shell
******************************************************************************Specifying CertAgent installation type...******************************************************************************1) NIAP-compliance:- Require Java 8- Install Tomcat 8.5.50- Create a HyperSQL database server or use an existing PostgreSQL database- Generate HSM-based TLS credential2) Non-NIAP-compliance:- Require Java 8, 11, or above- Install Tomcat 8.5.50- Create a HyperSQL database or use an existing PostgreSQL, Oracle, or HyperSQL database- Generate software-based TLS credentialAnswer [1]:
Ensure that the first option is selected here because you want Tomcat and HyperSQL database server to be installed automatically, and we want to generate TLS credentials by using the CryptoHub .
For all prompts not specifically mentioned here, select the default value.
5
At the following prompt, be sure to select option number one.
Shell
******************************************************************************Specifying database...******************************************************************************Which database are you going to use?1) I don't have one. Install and configure a HyperSQL 2.4.0 database for me2) An existing PostgreSQL databaseAnswer [1]:
6
The installer eventually prompts for the location of the FXPKCS11 library, so provide the full path to the libfxpkcs11.so file.
If using an older version of CertAgent (such as CertAgent 6), it asks for the HSM label. Leave the field blank and proceed with the rest of the installation.
Shell
******************************************************************************* Specifying HSM info...******************************************************************************A CA account (account name: ca7) and an initial set of credentials will beautomatically generated.System, root CA, and TLS credentials will be generated on the chosen HSM.64-bit HSM library: /usr/local/bin/fxpkcs11/libfxpkcs11.so
7
The next prompt display something similar to the following example:
Shell
One partition found:Label: 10.0.5.223:9100; Slot: 0Use this partition? [yes]: HSM PIN (no echo of input):
Confirm that you want to use the partition that it found,and enter the CryptoHub identity password configured inside the **<CRYPTO-OPR-PASS>
** tag in the fxpkcs11.cfg file.
8
Next, CertAgent creates several different keys and certificates on the CryptoHub.
You can use the default values for all prompts.
9
When prompted to enter passwords for several different items, for each instance, specify a password of your choosing.
10
If the CertAgent installation completes successfully, you see output similar to the following:
Shell
******************************************************************************Summary******************************************************************************CertAgent has been installed.Installation directory: /usr/local/certagent7CertAgent service (isc-certagent7) has been installed.CertAgent restarts automatically upon system startup.HSQLDB service (isc-certagent7-hsqldb) has been installed.HSQLDB server restarts automatically upon system startup.Entering System PIN===================An administrator must enter the PIN of the HSM in which the systemcredential resided on each time the system is booted.Run the following command, enter the HSM PIN and press ENTER:/usr/local/certagent7/certagent.sh setpinImporting Authorized Users==========================Please import the administrator, auditor, and CA operations staff PKCS#12 files:/usr/local/certagent7/keystore/ca-admin.p12/usr/local/certagent7/keystore/ca-auditor.p12/usr/local/certagent7/keystore/ca-operations-staff.p12and the root certificate file:/usr/local/certagent7/keystore/ca-root.derinto your browser's certificate and trust stores and usethese keys to authenticate yourself to the webserver.NOTE: AES-256 is used to encrypt your private key during theinstallation, the PKCS#12 files generated by the installercan only be imported to compatible browsers (e.g., Firefox 56+)Accessing CertAgent Sites==========================The following URLs may be used to access CertAgent usingInternet Explorer or other supported browsers.Admin access:https://centos6.linuxvmimages.local:8443/certagentadmin/admin/login.jspCA Account access:https://centos6.linuxvmimages.local:8443/certagentadmin/ca/login.jspPublic access:https://centos6.linuxvmimages.local:443/certagent/main.jsp-----------------------------------------------------------------------------The above information has been saved to install.log.Please run the '/usr/local/certagent7/certagent.sh setpin' command to set the system PIN.EXIT
[centos@centos6 certagent.7.0.8-install]$ sudo /usr/local/certagent7/certagent.sh setpinSetting system PIN...Enter CertAgent system PIN (no echo of input): 01/21/21 14:57:05 EST: System PIN set successfully
This section verifies that CertAgent is communicating correctly with the CryptoHub.
1
After the installation completes, you can log in to the CryptoHub web UI to verify that the keys have successfully been generated.
2
You can use the Futurex Command Line Interface (FXCLI) to validate that the CertAgent keys and certificates were generated and stored on the CryptoHub. After you connect and log in, run the keytable list command.
The following example removes the externalData and pkcs11Attributes fields and associated values to shorten the command output.
Perform the following steps to ensure proper communication between CertAgent and the CryptoHub:
1
Using the Public Site, send a certificate signing request (CSR) by using theEnroll function. Using either Internet Explorer or Firefox, you can generate a key for a certificate to be signed by the CryptoHub.
2
After sending in a CSR, log in to the CA Account Site by using the Operations certificate, find the certificate in the pending section, and issue it. Proper application configuration with the HSM enables you to issue and retrieve the certificate from the web.
⌘I
Assistant
Responses are generated using AI and may contain mistakes.