Cennso Database Certificate
A Cennso Database Certificate is represented by the DBTLSCertificate Custom Resource (CR). It defines a TLS certificate used to secure connections to MySQL instances by enabling encrypted client-server communication.
The sections below provide information only about configuration parameters that you can specify in the DBTLSCertificate CR. You can deploy a TLS certificate before or after setting up the MySQL cluster. For more information, see the Deploy Cennso Database and Manage TLS certificates guides.
Kubernetes cluster secret reference
To deploy the Cennso Database Certificate to a Core Cluster with a MySQL instance, you must specify a reference to the Kubernetes secretOpens in a new tab so the Core Cluster is accessible. You can do this using the following configuration parameters:
Set spec.connectionSecretRef.name to the name of the Core Cluster where the Cennso Database Certificate should be installed. The spec.connectionSecretRef.namespace configuration parameter defines the Kubernetes Namespace on the Management Cluster where the Kubernetes secret to access this Core Cluster is stored.
Certificates placement
To install a TLS certificate for your MySQL cluster, you should specify the Kubernetes Namespace where this cluster is deployed. You can do it using the following configuration option:
Certificates validity time
To specify a validity time of a TLS certificate and the time when it should be renewed by the cert-managerOpens in a new tab, you can use the following configuration options:
For more information about supported formats for the spec.duration and spec.renewBefore configuration options, see the official cert-manager documentationOpens in a new tab.
Additional DNS in certificates
By default, the Cennso Database Certificate includes all Kubernetes Service names associated with a MySQL cluster. In addition, you can add additional domain names (SANs) to the TLS certificate using the following configuration option:
Wildcards are supported in the given names. For more information, see the RFC 6125Opens in a new tab.