Check full certificate status

Show the whole chain: Certificate, Request, Order, Challenge and the exact ACME error

cmctl status certificate <name> -n <ns>

tool
cert-manager16 commands
tags
cert-managertlstroubleshootingdebug

More cert-manager commands

  • cmctl inspect secret <name> -n <ns>

    Decode tls.crt and show the issuer, SANs and validity dates without piping into openssl x509

  • kubectl apply -f - <<EOF apiVersion: cert-manager.io/v1 kind: ClusterIssuer metadata: name: letsencrypt-dns spec: acme: server: https://acme-v02.api.letsencrypt.org/directory privateKeySecretRef: name: letsencrypt-dns solvers: - dns01: route53: region: us-east-1 hostedZoneID: <id> EOF

    DNS01 issuer for wildcard certificates; IRSA or a secret must allow changing Route53 records

  • kubectl get challenges -A -o wide && kubectl describe challenge -n <ns> <name>

    List pending challenges and read the propagation or self-check error that blocks issuing

  • helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --set installCRDs=true

    Install cert-manager and its CRDs into a separate namespace

  • kubectl get pods -n cert-manager

    Make sure all cert-manager components are running

all 16 cert-manager commands