Security considerations when adding a base Application Server node to ND
You might decide to centralize the configuration of your stand-alone base appservers by adding them into a ND cell. If your base appserver is currently configured with security, some issues require consideration. 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. 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.
Another important consideration is the SSL public-key infrastructure. Prior to performing the addNode command with the deployment manager, verify that the addNode command can communicate as an SSL client with the deployment manager. This communication requires that the addNode truststore that is configured in the sas.client.props file contains the signer certificate of the deployment manager personal certificate, as found in the keystore and specified in the console.
The following issues require consideration when running the addNode command with security:
- When attempting to run system management commands such as the addNode command, explicitly specify administrative credentials to perform the operation.
The addNode command accepts -username and -password parameters to specify the user ID and password, respectively. The user ID and password that are specified must be for an administrative user; for example, a user that is a member of the console users with Administrator privileges or the administrative user ID configured in the user registry. An example of the addNode command follows:
addNode CELL_HOST 8879 -includeapps -username user -password pass
The -includeapps parameter 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 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.
- Adding a secured remote node through the 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, 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.
- When a client from a previous release tries to use the add node command to federate to a 6.1 deployment manager, the client must first obtain signers for a successful handshake.
For more information, see "Obtaining signers from a previous release" in the article on Secure installation for client retrieval.
- After running the addNode command, 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 are intercommunicating and ensure that the servers are trusted within your truststore files.
See Troubleshooting security configurations to find additional information about the problem. When trace is needed to solve a problem because servers are distributed, it is often required to gather trace on all servers simultaneously while recreating the problem. This trace can be enabled dynamically or statically, depending on the type of problem that is occurring.
Related concepts
Secure installation for client signer retrieval
Security planning overview
Related tasks
Task overview: Securing resources