Use the following samples to edit the configuration file for your environment. Find the Tomcat configuration in Tomcat_HOME/conf/server.xml.
The following sample shows an example configuration Connector:
<Connector port="8443" scheme="https" secure="true" SSLEnabled="true" maxThreads="150" keyAlias="Apache Tomcat:futurex-tomcat:C" clientAuth="false" keystore="NONE" keystorePass="password" keystoreType="PKCS11" keystoreProvider="Futurex">
</Connector>
The following is an example server.xml file:
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true">
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
<SSLHostConfig>
<Certificate certificateKeystoreFile=""
certificateKeystoreType="PKCS11"
certificateKeystoreProvider="SunPKCS11-Futurex"
certificateKeyAlias="Apache Tomcat:futurex-tomcat:C"
certificateKeystorePassword="identity_password"
type="EC" />
</SSLHostConfig>
</Connector>
In the certificateKeystorePassword definition, set the identity_password to the CryptoHub identity password configured inside the <CRYPTO-OPR-PASS> tag in the fxpkcs11.cfg file.