JBoss: Install SSL Certificate
Last updated
Was this helpful?
Last updated
Was this helpful?
The steps outlined below will assist you in installing an SSL certificate on a JBoss Server. If you have not yet generated your certificate and finished the validation process, refer to our before proceeding with the instructions below.
Obtain an SSL certificate from a trusted certificate authority.
Copy the SSL certificate and the private key file to the JBoss server.
Open the JBoss configuration file, standalone.xml or domain.xml, depending on the JBoss version and mode of operation.
Navigate to the section for the HTTPS connector and add the following attributes:
ssl-enabled="true"
scheme="https"
secure="true"
SSLEnabled="true"
keystore-file="path/to/keystore"
keystore-password="password"
key-alias="alias"
Save the configuration file and restart the JBoss server.
If you are using JBoss EAP 7 or later, you will need to import the SSL certificate and private key into a Java keystore.
Use the keytool
command to import the certificate into the keystore:
Update the JBoss configuration file, standalone.xml or domain.xml, to use the Keystore that you just created.
Restart the JBoss server for the changes to take effect.
Check the SSL certificate is installed correctly by checking that the padlock icon is displayed, and that the certificate is issued by a trusted CA.
Verify that the certificate is valid and not expired by checking the expiration date of the certificate.
Check the SSL certificate is correctly configured by running the SSL Server Test by Qualys SSL Labs.
Check that your application is correctly redirecting HTTP requests to HTTPS requests.
Open a web browser and navigate to the JBoss server's URL using the https protocol (