To configure an NFM-P main server to request a PKI-server TLS certificate

Purpose
CAUTION 

CAUTION

Service Disruption

Performing the procedure requires that you shut down the main server, which may be service-affecting.

If the main server is in service, ensure that you perform the procedure only during a scheduled maintenance period.

The following steps describe how to configure an NFM-P main server to request a new TLS certificate from a PKI server. This may be required during the initial installation of a main server, or whenever a new certificate is required.

Steps
 

Ensure that the PKI server is configured and running; see To configure and enable a PKI server.


Log in to the main server station as the nsp user.


Open a console window.


Stop the main server.

  1. Enter the following:

    bash$ cd /opt/nsp/nfmp/server/nms/bin ↵

  2. Enter the following:

    bash$ ./nmsserver.bash stop ↵

  3. Enter the following:

    bash$ ./nmsserver.bash appserver_status ↵

    The main server is stopped when the following message is displayed:

    Main Server is stopped 

    If the command output indicates that the server is not completely stopped, wait five minutes and then re-enter the command in this step to check the server status.

    Do not proceed to the next step until the server is completely stopped.

  4. Enter the following to switch to the root user:

    bash$ su ↵


Enter the following:

samconfig -m main ↵

The following is displayed:

Start processing command line inputs...

<main> 


Enter the following:

<main> configure tls ↵

The prompt changes to <main configure tls>.


Enter the following:

<main configure tls> no keystore-file ↵


Enter the following:

<main configure tls> no truststore-file ↵


Perform one of the following:

  1. Enter the following to use the default keystore password, which is available from technical support:

    <main configure tls> no keystore-pass ↵

  2. Enter the following to assign a keystore password:

    <main configure tls> keystore-pass password

    where password is the password to assign


10 

Perform one of the following:

  1. Enter the following to use the default truststore password, which is available from technical support:

    <main configure tls> no truststore-pass ↵

  2. Enter the following to assign a truststore password:

    <main configure tls> truststore-pass password

    where password is the password to assign


11 

Enter the following:

<main configure tls> alias alias

where alias is the keystore alias to assign


12 

Enter the following:

<main configure tls> pki-server server

where server is the PKI server IP address or hostname


13 

If the PKI server is to use a port other than the default for servicing requests, enter the following:

<main configure tls> pki-server-port port

where port is the PKI server port number


14 

Enter the following:

<main configure tls> exit ↵

The prompt changes to <main>.


15 

Enter the following:

<main> apply ↵

The configuration is applied.

The main server:

  • generates a TLS certificate

  • sends a CSR to the PKI server

  • receives from the PKI server the signed TLS certificate


16 

Enter the following:

<main> exit ↵

The samconfig utility closes.


17 

Enter the following to return to the nsp user:

exit ↵


18 

Start the main server.

  1. Enter the following:

    bash$ ./nmsserver.bash start ↵

  2. Enter the following:

    bash$ ./nmsserver.bash appserver_status ↵

    The server status is displayed; the server is fully initialized if the status is the following:

    Application Server process is running.  See nms_status for more detail.

    If the server is not fully initialized, wait five minutes and then repeat this step. Do not perform the next step until the server is fully initialized.


19 

Close the console window.

End of steps