-
Open the
server.xmlfile.
|
›_ Console |
|---|
|
-
Add the following entries to the
connectorsection for SSL.
|
›_ Console |
|---|
|
Here:
-
certificateKeystoreFile is blank as the HSM is being used
-
certificateKeystoreType is pkcs11 as the keystore is being used
-
certificateKeystoreProvider is SunPKCS11-CryptoServer
-
certificateKeyAlias is the name of the key generated using the
keytoolcommand -
certificateKeystorePassword is the password of the HSM keystore
-
type is the key algorithm to use (RSA/EC)
-
Reload the daemon using:
|
›_ Console |
|---|
|
-
Restart the Tomcat service using:
|
›_ Console |
|---|
|
5. Confirm that the Tomcat status is running using:
|
›_ Console |
|---|
|
-
The below output shows it is running:
Tomcat Service Status Output
-
Now access the page over https using https://<ip>:8443.
Tomcat Service Status Output - Browser
This completes the integration of Apache Tomcat with the Utimaco HSM using the SunPKCS11 security provider.