Skip to content

Get free database assistance or contact our experts for personalized support.

Configure TLS/SSL encryption using cert-manager

About the cert-manager

A cert-manager is a Kubernetes certificate management controller which is widely used to automate the management and issuance of TLS certificates. It is community-driven, and open source.

When you have already installed cert-manager, nothing else is needed: just deploy the Operator, and the Operator will request a certificate from the cert-manager.

Install cert-manager

The cert-manager requires its own namespace

The steps to install the cert-manager are the following:

  1. Create a namespace:

    $ kubectl create namespace cert-manager
    
  2. Disable resource validations on the cert-manager namespace:

    $ kubectl label namespace cert-manager certmanager.k8s.io/disable-validation=true
    
  3. Install the cert-manager:

    $ kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.18.2/cert-manager.yaml
    
  4. Verify the cert-manager by running the following command:

    $ kubectl get pods -n cert-manager
    

    The result should display the cert-manager and webhook active and running:

    Expected output
    NAME                                       READY   STATUS    RESTARTS   AGE
    cert-manager-69f748766f-6chvt              1/1     Running   0          65s
    cert-manager-cainjector-7cf6557c49-l2cwt   1/1     Running   0          66s
    cert-manager-webhook-58f4cff74d-th4pp      1/1     Running   0          65s
    

Once you create the database with the Operator, it will automatically trigger the cert-manager to create certificates. Whenever you check certificates for expiration, you will find that they are valid and short-term.


Last update: 2025-11-12