This guide provides simple and minimal settings to configure authentication with SSL user certificates. The tutorial builds on the Configuring TLS user guide.
Create SSL user certificates
Generate a Certificate Signing Request (CSR) and key. The basic format is the following:
This article showed the basics of creating and configuring a user for SSL certificate authentication. This method can be used with clickhouse-client or any clients which support the https interface and where HTTP headers can be set. The generated certificate and key should be kept private and with limited access since the certificate is used to authenticate and authorize the user for operations on the ClickHouse database. Treat the certificate and key as if they were passwords.