Certificate Management
Certificate Management allows you to manage a set of SSL certificates and keys that can be provisioned on your clusters. This feature allows you to create Certificate Authority (CA) and/or self-signed certificates and keys. Then, it can be easily enabled and disabled for MySQL and PostgreSQL client-server connections using the SSL encryption feature. You can access it by going to ClusterControl GUI → Settings → Certificate management. This will bring up a tab where you can view and manage certificates.
By default, the generated keys and certificates will be created under the default repository at /var/lib/cmon/ca
.
Field | Description |
---|---|
Create Folder |
|
Refresh |
|
More... |
|
Generate Self-signed Certificate
Generate a self-signed Certificate Authority and key. You can use this Certificate Authority (CA) to sign your client and server certificates.
Field | Description |
---|---|
Path |
|
Certificate Authority and Key Name |
|
Description |
|
Country |
|
State |
|
Localityr |
|
Organization |
|
Organization unit |
|
Common name |
|
|
|
Key length (bits) |
|
Expiration Date (days) |
|
Generate |
|
Reset |
|
Generate Client/Server Certificate
Sign with an existing CA or generate a self-signed certificate. ClusterControl generates certificates and keys depending on the type, server or client. The generated server’s key and certificate can then be used by the Enable SSL Encryption feature.
Field | Description |
---|---|
Certificate Authority |
|
Type |
|
Certificate and Key Name |
|
Description |
|
Country |
|
State |
|
Localityr |
|
Organization |
|
Organization unit |
|
Common name |
|
|
|
Key length (bits) |
|
Expiration Date (days) |
|
Generate |
|
Reset |
|
Import
Import keys and certificates into ClusterControl’s certificate repository. The imported keys and certificates can then be used to enable SSL encryption for server-client connection, replication, or backup at a later stage. Before you perform the important action, bear in mind to:
- Upload your certificate and key to a directory in the ClusterControl Controller host
- Uncheck the Self-signed Certificate checkbox if the certificate is not self-signed
- You need to also provide a CA certificate if the certificate is not self-signed
- Duplicate certificates will not be created
Field | Description |
---|---|
Destination Path |
|
Save As |
|
Certificate File |
|
Private Key File |
|
Self-signed Certificate |
|
Import |
|