How do I enable mTLS on the NSP mediation interface?

Purpose

Perform this procedure to enable two-way TLS authentication using mTLS on the network mediation interface of an NSP cluster.

Note: You must perform the procedure in each NSP cluster.

Steps
 

Log in as the root user on the NSP deployer host.


Open a console window.


Open the following file using a plain-text editor such as vi:

/opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/config/nsp-config.yml


Configure the following parameters in the nspmodulesmdm section of the file:

clusterSize: size

  mtls:

    enabled: true

    mtlsCACert: "CA_cert"

    mtlsClientCert: "client_cert"

    mtlsKey: "client_key"

    mtlsKeyAlgorithm: "RSA"

where

size is the number of nodes in the cluster

CA_cert is the absolute path of the CA certificate file

client_cert is the absolute path of the client certificate file

client_key is the absolute path of the client key file


Save and close the file.


Enter the following to put the configuration change into effect:

Note: The command causes a restart of each MDM pod in the cluster, but is not service-affecting.

/opt/nsp/NSP-CN-DEP-release-ID/bin/nspdeployerctl uninstall --config --deploy ↵

mTLS is enabled on the cluster mediation interface.


Close the console window.

End of steps