Enable SSL for JBOSS App Port

1.edit host or standalone.xml and add below JKS 
    <security-realm name="httpsrealm">
                <keystore path="/app/ssl/keystore.jks" keystore-password="xxxx" alias="site"/>
            <truststore path="/app/ssl/truststore.jks" keystore-password="xxxxxx"/>

2. Add below under undertow with in the respective profile for domain setup and in standalone.xml for standalone mode setup 
<subsystem xmlns="urn:jboss:domain:undertow:3.1">
    <buffer-cache name="default"/>
    <server name="default-server">
        <http-listener name="default" socket-binding="http" redirect-socket="https"/>
        <https-listener name="https" secure="true" enabled-protocols="TLSv1.1,TLSv1.2" security-realm="httpsrealm" socket-binding="https"/>
3.Restart and verify the App Https port to see if it reflects configured https certificate

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *