How does cert-manager work in Kubernetes?
IntermediateProductionTLS, Certificates & Network Security
Answer
You define an Issuer or ClusterIssuer (ACME, Vault, CA, self-signed) and Certificate resources, or annotate an Ingress. cert-manager creates a CertificateRequest, completes ACME challenges (HTTP-01 through the ingress or DNS-01 through the cloud DNS API), stores the result in a Secret and renews at two thirds of lifetime.
apiVersion: cert-manager.io/v1
kind: Certificate
metadata: {name: web-tls}
spec:
secretName: web-tls
dnsNames: [app.example.com]
issuerRef: {name: letsencrypt-prod, kind: ClusterIssuer}
Use DNS-01 for wildcard certificates and when port 80 is not reachable.
More on TLS, Certificates & Network Security
How do you manage certificates at scale without outages?IntermediateWhat is the best way to terminate TLS in AWS?IntermediateWhat is SPIFFE/SPIRE and why do platforms adopt it?IntermediateHow do you handle TLS configuration drift across many servers?IntermediateWhat are the risks of terminating TLS at the edge and sending plain HTTP internally?AdvancedHow should private keys be protected?Intermediate