Security considerations when adding a Base Application Server node to Network DeploymentAt some point, you might decide to centralize the configuration of your stand-alone base appservers by adding them into a Network Deployment cell. If your base appserver is currently configured with security, there are some issues to be considered. The major issue when adding a node to the cell is whether the user registries between the base appserver and the Deployment Manager are the same. When adding a node to the cell, you automatically inherit both the user registry and the authentication mechanism of the cell. For distributed security, all servers in the cell must use the same user registry and authentication mechanism. In order to recover from a user registry change, you will need to modify your applications so that the user and group to role mappings are correct for the new user registry. To do this, see the article on Mapping users and groups to J2EE application roles.
Another major issue is the SSL public-key infrastructure. Prior to performing addNode with the Deployment Manager, ensure that addNode can communicate as an SSL client to the Deployment Manager. This requires that the addNode truststore (configured in sas.client.props) contains the signer certificate of the Deployment Manager personal certificate as found in the keystore (specified in the Administrative Console). See the article, Managing digital certificates. The following are other issues to consider when running the addNode command with security...
- When attempting to run system management commands such as addNode, you need to explicitly specify administrative credentials to perform the operation. The addNode command accepts -username and -password parameters to specify the userid and password, respectively. The user ID and password, which are specified should be an administrative user, for example, a user that is a member of the console users with Operator or Admistrator privileges or the admistrative user ID configured in the User Registry. An example for addNode, addNode CELL_HOST 8879 -includeapps -username user -password pass. -includeapps is optional, but this option attempts to include the server applications into the Deployment Manager. The addNode command might fail if the user registries used by the WAS and the Deployment Manager are not the same. To correct this problem, either make the user registries the same or turn off security. If you change the user registries, remember to verify that the users to roles and groups to roles mappings are correct. See the addNode command for more information on the addNode syntax.
- Adding a secured remote node through the administrative console is not supported. You can either disable security on the remote node before performing the operation or perform the operation from the command line using the addNode script.
- Before running the addNode command, ensure that the truststore files on the nodes will communicate with the keystore files from the Deployment Manager and vice versa. When using the default DumservernameKeyFile and DumservernameTrustFile, not see this problem as these are already able to communicate. However, never use these files in a production environment or anytime sensitive data is being transmitted.
- After running addNode, the appserver is in a new SSL domain. It might contain SSL configurations that point to keystore and truststore files that are not prepared to interoperate with other servers in the same domain. Consider which servers will be intercommunicating and ensure that the servers are trusted within your truststore files.
Proper understanding of the security interactions between distributed servers greatly reduces problems encountered with secure communications. Security adds complexity because additional function needs to be managed. For security to function, it needs thorough consideration during the planning of your infrastructure. This document helps to reduce the problems that could occur due to inherent security interactions.
When you have security problems related to the WebSphere Application Server Network Deployment environment, check the Security Troubleshooting section to see if you can get information about the problem. When trace is needed to solve a problem, because servers are distributed, quite often it is required to gather trace on all servers simultaneously while recreating the problem. This trace can be enabled dynamically or statically, depending on the type problem occurring.