In the past with jboss we got some documents on how to perform this operation, nothing found for wildfly so for this the request
PAMSC 14.1 ENTM
For vulnerability reasons, customer request to remove access to HTTP in Enterprise Management Console
1. Stop WildFly
2. Change the following items from the standalone-full.xml
<socket-binding http="management-http"/>
To
<socket-binding http="management-https"/>
<http-connector endpoint="http-acceptor" name="http-connector" socket-binding="http"/>
<http-connector endpoint="http-acceptor-throughput" name="http-connector-throughput" socket-binding="http">
To
<http-connector endpoint="http-acceptor" name="http-connector" socket-binding="https"/>
<http-connector endpoint="http-acceptor-throughput" name="http-connector-throughput" socket-binding="https">
<http-acceptor http-listener="default" name="http-acceptor"/>
<http-acceptor http-listener="default" name="http-acceptor-throughput">
To
<http-acceptor http-listener="https" name="http-acceptor"/>
<http-acceptor http-listener="https" name="http-acceptor-throughput">
<http-connector connector-ref="default" name="http-remoting-connector" security-realm="ApplicationRealm"/>
To
<http-connector connector-ref="https" name="http-remoting-connector" security-realm="ApplicationRealm"/>
<http-listener enable-http2="true" name="default" redirect-socket="https" socket-binding="http"/>
To
<!- <http-listener enable-http2="true" name="default" redirect-socket="https" socket-binding="http"/> -->
<socket-binding interface="management" name="management-http" port="19990"/>
<socket-binding name="http" port="18080"/>
To
<!-- <socket-binding interface="management" name="management-http" port="19990"/> -->
<!-- <socket-binding name="http" port="18080"/> -->
3. Delete the tmp directory (Path: <WILDFLY_INSTALLED_DIRECTORY>\standalone\tmp) from the WildFly Installed directory
4. Start WildFly