Skip to main content
To connect the EJBCA environment to CryptoHub through the FXPKCS11 library, you must configure various files. Perform the following steps:
1
Locate the web.properties file in the EJBCA path (such as /opt/ejbca-install/ejbca_ce_6_15_2_6/conf/web.properties) and open it in a text editor.
2
Add the following new lines:
Text
cryptotoken.p11.lib.115.name=Futurex
cryptotoken.p11.lib.115.file=/futurex/libfxpkcs11.so
3
Save the file and run the following commands to apply these changes, rebuild the EJBCA environment.
4
Locate the ejbca-install/ folder using the command cd as follows:
Shell
cd /opt/ejbca-install/
5
Run the following deployear command:
Shell
ant -f ejbca_ce_6_15_2_6/build.xml -q clean deployear
6
Locate the ejbca-toolbox/ folder.
Shell
cd /opt/ejbca-install/ejbca_ce_6_15_2_6/
7
Run the following clientToolBox command:
Shell
ant clientToolBox
8
Start the web service with the following command:
Shell
java -D[Standalone] -server -Xmx2048m -Dorg.jboss.boot.log.file=/opt/wildfly/standalone/log/server.log -Dlogging.configuration=file:/opt/wildfly/standalone/configuration/logging.properties -jar /opt/wildfly/jboss-modules.jar -mp /opt/wildfly/modules org.jboss.as.standalone -Djboss.home.dir=/opt/wildfly -Djboss.server.base.dir=/opt/wildfly/standalone -c standalone.xml -b 0.0.0.0 &
The number depends on the previous libraries installed.