Add new users when client certificate authentication is enabled.
Add new users when client certificate authentication is enabled.
Prerequisites
The client certificate authentication must be enabled
(
require_client_auth=true).
Procedure
-
Generate the certificate as described in Client-to-node encryption.
-
Import the user's certificate into every node's truststore using keytool:
keytool -import -v -trustcacerts -alias <username> -file <certificate file> -keystore .truststore