2.5.2. Setup Configuration
Procedure 2.1. Evaluated Configuration Setup Configuration
Disable Simple Network Management Protocol (SNMP)
Delete the directoryJBOSS_HOME/server/production/deploy/snmp-adaptor.sar
$ rm -rf JBOSS_HOME/server/production/deploy/snmp-adaptor.sar
Disable Remote Method Invocation (RMI) under the Internet Inter-ORB Protocol (IIOP)
To disable RMI/IIOP delete following files:JBOSS_HOME/server/production/conf/jacorb.properties
JBOSS_HOME/server/production/deploy/iiop-service.xml
JBOSS_HOME/server/production/lib/jacorb.jar
$ rm JBOSS_HOME/server/production/conf/jacorb.properties $ rm JBOSS_HOME/server/production/deploy/iiop-service.xml $ rm JBOSS_HOME/server/production/lib/jacorb.jar
Disable AJP from JBoss Web.
Comment out the following section fromJBOSS_HOME/server/production/deploy/jbossweb.sar/server.xml
:<Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}" redirectPort="8443" />
Disable Clustering High-Availability JNDI service (port 1102)
To disable clustering HA, do the following:- Delete the file
JBOSS_HOME/server/production/deploy/cluster/hajndi-jboss-beans.xml
rm JBOSS_HOME/server/production/deploy/cluster/hajndi-jboss-beans.xml
- Disable the HA Naming service interface via HTTP by commenting out following <mbean> definition in
JBOSS_HOME/server/production/deploy/httpha-invoker.sar/META-INF/jboss-service.xml
:<mbean code="org.jboss.invocation.http.server.HttpProxyFactory" name="jboss:service=invoker,type=http,target=HAJNDI">
Enable Password Hashing
Use password hashing and do not store plain text passwords on the server.Note
For more information regarding configuring password hashing, refer to the Password Hashing section in the JBoss Security Guide.Disable Technology Preview Components
Ensure Technology Preview components are disabled.Note
Section 2.5.8, “Technology Preview Components” details the components shipped with JBoss Enterprise Application Platform that must be disabled, and how to disable them.