Configuring JBoss to use SSL Key and Certificate Present on Utimaco HSM

  1. Copy the CryptoServer.cfg file under Jboss configuration directory.

›_ Console

# cp /home/jboss/CryptoServer.cfg /opt/EAP-

7.4.0/standalone/configuration/CryptoServer 
  1. Open the $JBOSS_HOME/standalone/configuration/standalone.xml file.

  2. Edit the <ssl> configuration under the <management> <security-realms> section, as indicated below:

standalone.xml

<security-realm name="ApplicationRealm"> 

<server-identities> 

<ssl> 

<keystore path="CryptoServer" provider="CryptoServer" relativeto="jboss.server.config.dir"  

keystore-password="12345678" alias="jbossrsa" /> 

</ssl> 

</server-identities> 

Update alias name and keystore password according to your setup.

  1. Restart the jboss service.

›_ Console

# systemctl restart jboss-eap-rhel 
  1. Open any browser and access the URL https://< jboss_ip_address>:8443.

  2. After the page is loaded, verify the SSL certificate details.

image-3286106383-2.jpg

Loading page over HTTPS

This completes the integration of JBoss Enterprise Application Platform with Utimaco SecurityServer using CryptoServer JCE.