How do I replace the TLS certificates on an analytics server?
Purpose
Perform this procedure to replace the PKI-server-generated TLS certificates, custom CA TLS certificates, or both, on an NSP analytics server.
Note: You require root and nsp user privileges on the analytics server station.
Steps
Obtain required keystore and truststore files | |
1 |
If you are not using custom TLS keystore and truststore files, go to Step 9. |
2 |
Generate the required custom keystore and truststore files; see “To generate custom TLS certificate files for the NSP” in the NSP Installation and Upgrade Guide for information. |
3 |
Transfer the TLS keystore and truststore files to the analytics server station. Note: The files must be located on a path that is owned by the nsp user. |
4 |
Log in as the root user on the analytics server station. |
5 |
Open a console window. |
6 |
Enter the following: # chown nsp:nsp keystore_file ↵ where keystore_file is the absolute path of the keystore file |
7 |
Enter the following: # chown nsp:nsp truststore_file ↵ where truststore_file is the absolute path of the truststore file |
8 |
Close the console window. |
Start PKI server | |
9 |
Start the NSP PKI server, if it is not running; see “To configure and enable an NSP PKI server” in the NSP Installation and Upgrade Guide for information. |
Update TLS configuration | |
10 |
Log in as the nsp user on the analytics server station. |
11 |
Open a console window. |
12 |
Enter the following: bash$ cd /opt/nsp/analytics/bin ↵ |
13 |
If the PKI server that you are using has a changed IP address or port number, update the analytics server configuration.
|
14 |
To obtain a new internal certificate from the PKI server, perform the following steps:
The following message is displayed, and the internal certificate files are updated: Internal Certificates have been generated successfully |
15 |
Enter the following: bash$ ./AnalyticsAdmin.sh updateTLS ↵ The script displays the following message and prompt: This Action requires Analytic Server Restart. Please type 'YES' to continue |
16 |
Enter YES. The script displays the following messages and prompt: Stopping Analytics Server Analytics Application is not running Do you have existing TLS certificates?(yes/no) |
17 |
Perform one of the following.
|
Stop PKI server | |
18 |
Stop the NSP PKI server by entering Ctrl+C in the PKI server console window. |
19 |
Close the open console windows. End of steps |