Setting up a secure communication between the API and several Collector Server instances
If you want to the API to communicate with several Collector Server instances, you must secure all connections.
Before you begin
- Planning for a secure communication between the API and several Collector Server instances.
- It is assumed that you already set up at least one secure client connection and you are thus familiar with the client_key_gen script file. See Setting up a secure communication with the API.
About this task
To set up secure communication with several Collector Server instances,
you use the script file client_key_gen again.
In addition, you use the script file that is installed with the add-ons
package and has the following fully qualified file name:
InstallHome\api\register_server.bat
For the complete functional scope of this script file, see register_server.
The following procedure shows how to
set up secure connections between the API and two Collector Server instances.
It is based on the following example situation:
- The API is installed on a system with two users who are supposed
to share a certificate. Therefore, you need only one client keystore.
The users are called
cuser1andcuser2in this example. - The API is to communicate with two Collector Server instances,
which are called
myserverAandmyserverBin this example. Therefore, you need two server keystores, one onmyserverAand one onmyserverB. - The server keystores are to be encrypted with the passwords
secureAandsecureB.
For this example, it is also assumed that you decide to
create the required client keystore on myserverA and
that you use the default names for the keystores.
Tip: Keep
a record of all names and labels that you assign, the location of
the keystores, and the number of the client keystores that you already
created on each Collector Server instance.
Also, document which certificate belongs to which user and which certificates
are shared by which users.
