Cert-Manager Integration

PAS-X MES supports integration with cert-manager to simplify certificate management in Kubernetes environments. By leveraging cert-manager, customers can automate the issuance, renewal, and rotation of certificates used by PAS-X MES, reducing manual overhead.

The following guidance applies to all applications except Argo CD. Argo CD uses the community Helm chart, which may require different configuration than the Helm charts provided directly by Koerber.

See Certificates - Server Identity for Incoming Communication for detailed configuration instructions for each application.

Common certificate management using cert-manager

Responsibilities and Scope

Customer is responsible for

  • Installing and operating cert-manager in the cluster.

  • Providing and maintaining ClusterIssuers or Issuers.

  • Selecting and configuring the Certificate Authority (CA) and issuance policies.

  • Monitoring certificate issuance and renewal status.

cert-manager is responsible for

  • Reconciling Certificate resources.

  • Issuing certificates via the configured ClusterIssuer or Issuer.

  • Renewing certificates before expiration.

  • Updating the target TLS Secret with renewed certificate and key material.

Kubernetes

PAS-X MES provides support for:

  • Defining correct Ingress hostnames and TLS Secret references.

  • Exposing configuration options for cert-manager integration (for example issuer references).

  • Ensuring that Ingress resources are properly annotated for cert-manager usage.

Supported Configurations

PAS-X MES Helm Charts support cert-manager using cert-manager’s Annotated Ingress resource model. Customers can configure TLS certificate issuance for all applications exposing HTTPS endpoints using either a ClusterIssuer or Issuer reference. Optionally, custom cert-manager annotations can be provided if required.

Rules for Cert-Manager Configuration

  • Cert-manager must be explicitly enabled in the Helm chart values.

  • Helm charts support configuring cert-manager issuers via the ingress.tls.certManager.issuerRef block in the values file.

  • Additional cert-manager configuration can be provided via annotations, for example to specify issuer-kind or issuer-group when using custom issuers.

Global vs Application-Specific Configuration

Cert-manager settings can be configured globally or per application:

  • Global configuration

    • Use the global values file to apply the same TLS and cert-manager settings to all applications exposing HTTPS endpoints.

    • Recommended when all applications can share the same certificate and issuer settings.

  • Application-specific configuration

    • Configure TLS and cert-manager options individually for each Helm chart (Instance, MES Installation Server, PAS-X Argo Workflows, RabbitMQ Cluster, etc.).

    • Recommended when different applications require distinct issuers, clusterIssuers, or custom annotations.

Sample Cert-Manager Configuration

The following example shows how to configure cert-manager for PAS‑X MES Helm Charts. This configuration can be applied application-specific or globally.

Example: cert-manager configuration
ingress:
  tls:
    enabled: true
    certManager:
      enabled: true
      issuerRef:
        name: "<cert-manager-cluster-issuer-name>"
        kind: "ClusterIssuer"
  customAnnotations:
    <optional-cert-manager-annotation-key>: "custom-value"

OpenShift

PAS-X MES does not add cert-manager configuration to its OpenShift Routes or create Certificate resources for them. The customer is responsible for providing and maintaining the TLS Secrets referenced by the Routes.

For charts using the ingress configuration, ingress.tls.certManager.enabled defaults to false. Keep this default on OpenShift, or override the value to false if shared or application-specific values enable it. This leaves the charts' Ingress-based certificate issuance configuration disabled; it does not disable cert-manager or independently managed Certificate resources. Setting this value to true does not provision Route certificates.

Choose how to manage certificates

Use one of these options:

  • Cert-manager: prepare cert-manager and an Issuer or ClusterIssuer as described in Common certificate management using cert-manager. Use a Certificate resource to provision the TLS Secret; see the official cert-manager Certificate documentation. For each Certificate, set spec.secretName to the TLS Secret name configured for related application. Cert-manager issues and renews the certificate and updates that Secret.

  • Customer-managed certificates: obtain certificates through your own certificate management process and populate the configured TLS Secrets yourself. Maintain the certificate chain and private key, renew the certificates, and update the Secrets before expiration. Cert-manager is not required for this option.

For both options, set ingress.tls.secretName explicitly for charts using the ingress configuration. Argo CD uses the fixed Secret name argocd-server-tls.

For both options, create the TLS Secret in the application’s namespace, where the Route or TLS-terminating backend references it. When using cert-manager, create the Certificate resource in that namespace so that cert-manager writes the Secret there.

For all application Route TLS Secrets except those used by pasx-argo-workflows, the OpenShift router ServiceAccount must have permission to read the referenced Secret in the Route’s namespace. The Role and RoleBinding must grant access to the configured router identity and TLS Secret.

For Argo Workflows passthrough TLS, the Argo Server consumes the Secret instead; router access to that Secret is not required.

Successful issuance or renewal does not prove that the endpoint serves the updated certificate. Verify the externally served certificate after renewal as described in Customer-managed Secret changes.

For the Secret structure, certificate formats, required keys, and an example, see TLS Secret identity material.