Install PFX/PKCS#12 - JBoss
Aug 15, 2024
Introduction
This article provides step-by-step instructions for importing a .pfx file into JBoss. If this is not the solution you are looking for, please search for your solution in the search bar above.
Process
- Retrieve the PFX/PKCS#12 file to be installed on your server.
- Save the SSL certificate file on your JBoss server location.
Eg. C:\Program Files\jboss-{your version}\conf\MyGlobalSignCertificate.pfx
- Update the SSL section of the server.xml configuration file with the following information:
As per our Example, please see the adjustments below in bold that have been added/changed to match the certificate type requirements.
connector Port="8443" address="${jboss.bind.address}" maxThreads="100"minSpareThreads="5" maxSpareThreads="15" scheme="https" secure="true" clientAuth="false"keystoreFile="${jboss.server.home.dir}/conf/MyGlobalSignCertificate.pfx"
keystorePass="YOUR_CERTIFICATE_PASSWORD" keystoreType="PKCS12"
Note: Generally, you may find this file on a windows based system on:
C:\Program Files\jboss-{your version}\server\default\deploy\jbossweb-tomcat55.sar\server.xml
- Start or Re-start JBoss for the new GlobalSign certificate to take effect.