Certificate Authority
...
ISC CertAgent integrations
ISC - Linux
Configure CertAgent with the Futurex PKCS #11 Library
2min
the certagent package for linux platforms consists of a zip archive that you can unzip into any directory on your server while preserving the directory structure set the ld library path variable perform the following steps to set the ld library path environment variable and run the certagent installer 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 {{futurex}} 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 \[centos\@centos6 certagent 7 0 8 install]$ sudo env ld library path=/usr/local/bin/fxpkcs11 /install sh the output should be similar to the following example certagent installation 7 0 8 copyright(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 be generated 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 for the oracle, postgresql, or hypersql database; otherwise, an hypersql database will be installed and requires a listening port \ system hostname or ip address \ tls port for the administrator site \ tls port for the public site the 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/fxpkcs11 are the required directories specified in the ld library path? \[yes] 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 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 credential 2\) 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 credential answer \[1] make sure to select the first option you want to install tomcat and the hypersql database server automatically and generate tls credentials by using the hsm for all prompts not specifically mentioned here, select the default value at the following prompt, select option number one 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 me 2\) an existing postgresql database answer \[1] 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 specifying hsm info a ca account (account name ca7) and an initial set of credentials will be automatically generated system, root ca, and tls credentials will be generated on the chosen hsm 64 bit hsm library /usr/local/bin/fxpkcs11/libfxpkcs11 so the next prompt displays something similar to the following example one partition found label 10 0 5 223 9100; slot 0 use this partition? \[yes] hsm pin (no echo of input) 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 {{vec}} 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 summary certagent has been installed installation directory /usr/local/certagent7 certagent 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 system credential resided on each time the system is booted run the following command, enter the hsm pin and press enter /usr/local/certagent7/certagent sh setpin importing 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 p12 and the root certificate file /usr/local/certagent7/keystore/ca root der into your browser's certificate and trust stores and use these keys to authenticate yourself to the webserver note aes 256 is used to encrypt your private key during the installation, the pkcs#12 files generated by the installer can only be imported to compatible browsers (e g , firefox 56+) accessing certagent sites \========================== the following urls may be used to access certagent using internet explorer or other supported browsers admin access https //centos6 linuxvmimages local 8443/certagentadmin/admin/login jsp ca account access https //centos6 linuxvmimages local 8443/certagentadmin/ca/login jsp public 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 post installation step run the following command to set the system pin \[centos\@centos6 certagent 7 0 8 install]$ sudo /usr/local/certagent7/certagent sh setpin setting system pin enter certagent system pin (no echo of input) 01/21/21 14 57 05 est system pin set successfully