Security considerations when adding a Base Application Server node to Network Deployment

 

Before you begin

At some point, you might decide to centralize the configuration of your stand-alone base application servers by adding them into a Network Deployment cell. If your base application server is currently configured with security, there are some issues to consider. The major issue when adding a node to the cell is whether the user registries between the base application server 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. To recover from a user registry change, 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 Assigning users and groups to roles.

Another important consideration is the SSL public-key infrastructure. Prior to performing addNode with the Deployment Manager, verify that addNode can communicate as an SSL client with 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, Manage digital certificates.

 

Overview

The following are other issues to consider when running the addNode command with security:

 

Procedure

  1. When attempting to run system management commands such as addNode, we 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 that are specified must be an administrative user; for example, a user that is a member of the console users with Operator or Administrator privileges or the administrative 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 WebSphere Application Server 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 addNode command for more information on the addNode syntax.

  2. Adding a secured remote node through the administrative console is not supported. We can either disable security on the remote node before performing the operation or perform the operation from the command line using the addNode script.

  3. Before running the addNode command, verify that the truststore files on the nodes can communicate with the keystore files from the Deployment Manager and vice versa. When using the default DummyServerKeyFile and DummyServerTrustFile, you should not see this problem as these are already able to communicate. However, never use these dummy files in a production environment or anytime sensitive data is being transmitted.

  4. After running addNode, the application server 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.

 

Result

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.

 

What to do next

When you have security problems related to the WebSphere Application Server Network Deployment environment, check the Troubleshooting security configurations section to see if one 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.