Edit the standalone/configuration/standalone.xml file:
<subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server="default-host"> <connector name="http" scheme="http" protocol="HTTP/1.1" socket-binding="http"/> <virtual-server name="default-host" enable-welcome-root="true"> <alias name="localhost" /> <alias name="example.com" /> </virtual-server> </subsystem>
Replace the connector tag with the following:
<connector name="https" scheme="https" protocol="HTTP/1.1" secure ="true" socket- binding="https" ssl="your certificate name"/>
Ashish panery
source share