We have noticed that all of our VNA servers are showing port 8443 in listening mode and we are not using HTTPs. Our security team has scanned and found this to be a vulnerability.
How can we prevent VNA from listening on port 8443 if we have no intention of using HTTPS?
VNA 22.2.5
To stop port 8443 from listening, just run these steps on a VNA server that is not using HTTPS.
cd $VNA_HOME/wildfly/bin
./jboss-cli.sh --connect
/subsystem=undertow/server=default-server/https-listener=https:write-attribute(name=enabled,value=true)
exit
systemctl restart wildfly
If for any reason you need to enable port 8443 you can run
cd $VNA_HOME/wildfly/bin
./jboss-cli.sh --connect
/subsystem=undertow/server=default-server/https-listener=https:write-attribute(name=enabled,value=true)
exit
systemctl restart wildfly