![]() |
|
WildFly Keystore Generation & HTTPS Setup Guide - Printable Version +- DevOps Discussion Forum (https://forums.geekssolutions.io) +-- Forum: Cloud Computing (https://forums.geekssolutions.io/forumdisplay.php?fid=10) +--- Forum: DevOps (https://forums.geekssolutions.io/forumdisplay.php?fid=14) +--- Thread: WildFly Keystore Generation & HTTPS Setup Guide (/showthread.php?tid=7) |
WildFly Keystore Generation & HTTPS Setup Guide - santosh - 04-07-2026 WildFly Keystore Generation & HTTPS Setup Guide Overview This guide covers generating a keystore and configuring HTTPS in WildFly including ports 8443 for applications and 9993 for the admin console. Step 1 - Generate the Keystore Run on: WildFly Application Server Use the keytool command to generate the keystore: Code: keytool -genkeypair \Parameter explanation:
Step 2 - Place Keystore in WildFly Directory Run on: WildFly Application Server Move the keystore to WildFly configuration directory: Code: mv wildfly.keystore /opt/wildfly/standalone/configuration/Set correct ownership and permissions: Code: chown wildfly:wildfly /opt/wildfly/standalone/configuration/wildfly.keystoreStep 3 - Verify the Keystore Run on: WildFly Application Server Inspect the generated keystore to ensure it is valid: Code: keytool -list -v \Step 4 - Configure TLS in standalone.xml Run on: WildFly Application Server Edit the standalone.xml file: Code: sudo nano /opt/wildfly/standalone/configuration/standalone.xmlAdd the following TLS configuration: Code: <tls>Step 5 - Restart WildFly Run on: WildFly Application Server Code: /opt/wildfly/bin/standalone.shOr if running as a service: Code: sudo systemctl restart wildflyStep 6 - Verify HTTPS Ports Run on: WildFly Application Server Check if HTTPS ports are active: Code: netstat -tuln | grep -E '8443|9993'Expected output: Code: tcp 0 0 0.0.0.0:8443 0.0.0.0:* LISTENStep 7 - Test Access Test the following URLs in your browser:
Summary
|