Kubernetes

Certificate Management for Kubernetes: Complete Guide

Best practices for managing TLS certificates in Kubernetes environments using cert-manager and TigerTrust.

L
Lisa Park
Platform Engineering Lead
2025-12-10
12 min read

The Challenge of Kubernetes Certificate Management

Kubernetes environments present unique challenges for certificate management:

  • Dynamic infrastructure: Pods and services are constantly created and destroyed
  • Multiple namespaces: Certificates needed across different teams and applications
  • Service mesh complexity: mTLS requires certificates for every service
  • Scale: Large clusters may have thousands of certificates

Why Kubernetes CLM Matters

Proper certificate management in Kubernetes is essential for:

  • Security: Encrypt all cluster communication
  • Compliance: Meet regulatory requirements for data protection
  • Reliability: Prevent outages from expired certificates
  • Zero trust: Enable service-to-service authentication

Kubernetes Certificate Types

Control Plane Certificates

Critical certificates for cluster operation:

  • API server TLS certificate
  • etcd server and client certificates
  • Controller manager certificates
  • Scheduler certificates
  • Service account signing key

Ingress Certificates

TLS termination at the cluster edge:

  • NGINX Ingress TLS
  • Traefik certificates
  • Istio Gateway certificates
  • AWS ALB/NLB certificates

Service Mesh Certificates

mTLS for service-to-service communication:

  • Istio workload certificates
  • Linkerd identity certificates
  • Consul Connect certificates

Application Certificates

Application-specific certificates:

  • Database connection TLS
  • External API client certificates
  • Webhook server certificates

Implementing cert-manager

Installation

Install cert-manager using Helm:

bash
1helm repo add jetstack https://charts.jetstack.io 2helm install cert-manager jetstack/cert-manager \ 3 --namespace cert-manager \ 4 --create-namespace \ 5 --set installCRDs=true

Creating Issuers

Let's Encrypt Issuer

yaml
1apiVersion: cert-manager.io/v1 2kind: ClusterIssuer 3metadata: 4 name: letsencrypt-prod 5spec: 6 acme: 7 server: https://acme-v02.api.letsencrypt.org/directory 8 email: [email protected] 9 privateKeySecretRef: 10 name: letsencrypt-prod-key 11 solvers: 12 - http01: 13 ingress: 14 class: nginx

Internal CA Issuer

yaml
1apiVersion: cert-manager.io/v1 2kind: ClusterIssuer 3metadata: 4 name: internal-ca 5spec: 6 ca: 7 secretName: internal-ca-key-pair

Requesting Certificates

Certificate Resource

yaml
1apiVersion: cert-manager.io/v1 2kind: Certificate 3metadata: 4 name: api-tls 5 namespace: production 6spec: 7 secretName: api-tls-secret 8 issuerRef: 9 name: letsencrypt-prod 10 kind: ClusterIssuer 11 dnsNames: 12 - api.example.com 13 - api-internal.example.com

Ingress Annotations

yaml
1apiVersion: networking.k8s.io/v1 2kind: Ingress 3metadata: 4 name: api-ingress 5 annotations: 6 cert-manager.io/cluster-issuer: letsencrypt-prod 7spec: 8 tls: 9 - hosts: 10 - api.example.com 11 secretName: api-tls-secret

Enterprise Kubernetes CLM with TigerTrust

Integration Architecture

TigerTrust integrates with Kubernetes through:

  1. TigerTrust Operator: Kubernetes-native certificate management
  2. External Secrets Integration: Sync certificates from TigerTrust vault
  3. Webhook Receiver: Real-time certificate updates
  4. API Integration: Direct API access for automation

Advanced Features

Multi-Cluster Management

Manage certificates across multiple Kubernetes clusters:

  • Centralized policy enforcement
  • Consistent certificate issuance
  • Cross-cluster certificate synchronization
  • Unified monitoring and alerting

Enterprise PKI Integration

Connect to your internal PKI:

  • Microsoft ADCS integration
  • HashiCorp Vault PKI
  • TigerTrust PKI Core
  • Custom CA support

Compliance and Governance

Enterprise compliance features:

  • Certificate policy enforcement
  • Audit logging for all operations
  • Role-based access control
  • Namespace-level policies

Best Practices

Namespace Isolation

  • Use separate issuers per namespace when needed
  • Implement RBAC for certificate resources
  • Consider certificate quotas per namespace

Certificate Lifecycle

  • Set appropriate certificate durations
  • Configure renewal windows (default 2/3 of lifetime)
  • Monitor certificate health with Prometheus metrics

Secret Management

  • Enable secret encryption at rest
  • Use external secret stores for sensitive certificates
  • Implement secret rotation policies
  • Audit secret access

High Availability

  • Deploy cert-manager with multiple replicas
  • Configure proper resource requests/limits
  • Use PodDisruptionBudgets
  • Implement health checks and alerts

Monitoring Kubernetes Certificates

Prometheus Metrics

Key metrics to monitor:

yaml
1# Certificate expiry time 2certmanager_certificate_expiration_timestamp_seconds 3 4# Certificate ready status 5certmanager_certificate_ready_status 6 7# ACME client errors 8certmanager_http_acme_client_request_count

Alerting Rules

Example Prometheus alert:

yaml
1- alert: CertificateExpiringSoon 2 expr: certmanager_certificate_expiration_timestamp_seconds - time() < 86400 * 14 3 for: 1h 4 labels: 5 severity: warning 6 annotations: 7 summary: Certificate expiring in less than 14 days

Conclusion

Kubernetes certificate management requires specialized tooling and practices to handle the dynamic, distributed nature of container environments. By implementing cert-manager with proper enterprise integrations, organizations can achieve automated, secure certificate management at scale.

TigerTrust's Kubernetes CLM capabilities provide enterprise-grade certificate management with deep Kubernetes integration, multi-cluster support, and comprehensive compliance features.

TOPICS

Kubernetes
certificate lifecycle automation
ssl certificate management software
DevOps

SHARE THIS ARTICLE

Related articles

PKI Fundamentals

CRL vs OCSP: How Certificate Revocation Actually Works (and Where It Still Fails)

A certificate is a signed statement that a key belongs to an identity. Revocation is how a CA says 'actually, never mind'. Twenty-five years into the X.509 era we still have two mechanisms for revocation - CRLs and OCSP - plus a dozen variations and workarounds. This is the field guide: what each one does, where each one breaks, and the specific configuration you want in 2026.

14 min read
Industry Analysis

350 Roots, One Byte: What eMudhra Means for the Multi-CA Trust Model

The WebPKI trusts around 350 root CAs operated by about 60 organisations. Any one of them can issue a certificate for any domain on the internet. eMudhra's eight single-byte intermediates are a textbook example of why that architecture is structurally fragile - and why the governance machinery around it, imperfect as it is, remains the actual defence. A note for CISOs, board members, and anyone who has to brief one of them.

12 min read
Incident Analysis

eMudhra, Eight Bytes of Entropy, and What Breaks When a CA Ships Toy Keys

Eight intermediate CAs cross-signed by Sectigo were issued in April 2025 with private keys that fit in a single byte - one of them was literally the number 4. Browsers blocked the intermediates within hours. Everything that isn't a browser is still an open question. Here's the incident, the attack surface, and the specific action items for anyone running TLS, code signing, or device enrollment on anchors they don't control.

11 min read

Ready to Transform Your Certificate Management?

See how TigerTrust can help you automate certificate lifecycle management at scale.