Adding new trusted users

Add new users when client certificate authentication is enabled.

How to add new users when client certificate authentication is enabled.

Prerequisites

The client certificate authentication must be enabled (require_client_auth=true).

Procedure

  1. Generate the certificate as described in Client-to-node encryption.
  2. Import the user's certificate into every node's truststore using keytool:
     keytool -import -v -trustcacerts -alias <username> -file <certificate file> -keystore .truststore