Skip to content
Back to skills

Cert Manager Knowledge Patch

ASecurity

cert-manager

  • 25 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
developmentrustgoawsazureapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill cert-manager-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cert Manager Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cert Manager Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-cert-manager-knowledge-patch/badge)](https://www.skillsdirectory.com/skills/nevaberry-cert-manager-knowledge-patch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cert-manager-knowledge-patch
description: cert-manager
version: "1.21.3"
license: MIT
metadata:
  author: Nevaberry
---



# cert-manager compatibility guidance

Use this skill when upgrading cert-manager, configuring Certificates and issuers,
deploying with Helm, or troubleshooting ACME, Gateway, and renewal behavior.
Load the topic reference for complete configuration examples and patch-specific fixes.

| Reference | Topics |
| --- | --- |
| [Certificates and issuance](references/certificates-and-issuance.md) | Private keys, renewal, ARI, keystores, SANs, constraints, PEM limits, issuance |
| [ACME and DNS solvers](references/acme-and-dns-solvers.md) | Profiles, credentials, HTTP-01, DNS-01 providers, retries, response limits |
| [Gateway, Ingress, and shim](references/gateway-ingress-and-shim.md) | ListenerSets, parent references, listeners, annotations, generated Certificates |
| [Helm, operations, and security](references/helm-operations-and-security.md) | RBAC, Pods, chart values, cainjector, feature gates, trust stores |
| [Issuers, integrations, and API](references/issuers-integrations-and-api.md) | Vault, Venafi, Secret readiness, Go clients, selectors, admission validation |
| [Observability and reliability](references/observability-and-reliability.md) | Metrics, monitor endpoints, logs, diagnostics, webhook recovery |
| [Upgrades and support](references/upgrades-and-support.md) | Distribution, platform compatibility, support policy, security patches, Go builds |

## Breaking changes and deprecations

### Private keys and request history

In v1.18, `Certificate.spec.privateKey.rotationPolicy` defaults to `Always`:
reissuance, including `cmctl renew`, generates a fresh key. Set it to `Never`
to reuse the key. v1.20 makes `DefaultPrivateKeyRotationPolicyAlways` GA and
impossible to disable; remove settings that disable the gate and use
`spec.privateKey.rotationPolicy: Never` on individual Certificates that need it.

`Certificate.spec.revisionHistoryLimit` defaults to `1` in v1.18. Upgrading
garbage-collects stale CertificateRequests; set a higher limit explicitly before
upgrading if more revisions must be retained.

### Helm values and monitoring

Before upgrading to v1.21, remove `prometheus.servicemonitor.targetPort`,
`prometheus.servicemonitor.path`, and `prometheus.podmonitor.path`: Helm rejects
these keys. Custom monitors using `tcp-prometheus-servicemonitor` must use
`http-metrics` and scrape `/metrics`.

Remove `global.rbac.disableHTTPChallengesRole` when upgrading to v1.18.2 or a
later v1.18 patch. It was exposed in v1.18.0 and v1.18.1.

### Controller permissions

The v1.21 chart removes the default `tokenrequest` Role and RoleBinding for
minting tokens for the controller's own ServiceAccount. If `serviceAccountRef.name`
points to that account, supply a Role and RoleBinding granting the controller
`create` on `serviceaccounts/token` for that account, or use a dedicated
ServiceAccount with its own RBAC.

Starting in v1.19.6 and, on the 1.20 branch, v1.20.3, `cert-manager-edit` drops
Challenge `create` and Order `create`, `patch`, and `update`. Direct automation
needs explicit grants. Challenge `patch` and `update` remain available, including
for removing stuck finalizers.

### API defaults and removed declarations

Use v1.19.1 or later for the issuer-reference defaulting fix: v1.19.0 CRD defaults
of `kind: Issuer` and `group: cert-manager.io` could trigger unnecessary
reissuance. Omitted fields again default at runtime in v1.19.1. Use v1.19.1 or
later for X.509 DNS SANs with a trailing dot, which v1.19.0 rejected.

Go clients using the deprecated `ObjectReference` declaration must update those
references when adopting the v1.21 API.

### Feature gates and Gateway settings

| Setting | Compatibility guidance |
| --- | --- |
| `ValidateCAA` | Warns in v1.17; v1.18 accepts it for compatibility and ignores its value, so it can be removed. |
| `CAInjectorMerging` | Opt-in in v1.17, beta and enabled by default in v1.19, GA in v1.21; remove `CAInjectorMerging=false` for v1.21. |
| `ServerSideApply` on cainjector | Deprecated in v1.21; cainjector uses server-side apply unconditionally. |
| `UseDomainQualifiedFinalizer` | Beta and enabled by default in v1.17; GA in v1.18.0. |

In v1.21, `ControllerConfiguration` deprecates `enableGatewayAPI` and
`enableGatewayAPIListenerSet` in favor of these nested controller config fields:

```yaml
gatewayAPI:
  enabled: true
  enableListenerSet: true
```

### Runtime identities and CA trust

v1.20 changes container UID and GID defaults to `65532`, replacing UID `1000`
and GID `0`. Check volume permissions that depend on the previous IDs.

v1.20.5 and v1.21.3 remove `emSign ECC Root CA - G3` from the base image trust
store and use Go 1.26.10, whose `crypto/x509` rejects chains through the
compromised intermediates. v1.20.5 also moves to Debian 13 and drops the
`AAA Certificate Services` root. Building or importing cert-manager 1.20 from
v1.20.5 requires Go 1.26 or later.

## Renewal and key handling

The Certificate renewal field is `spec.renewal`. It controls scheduling beyond
`renewBefore` and `renewBeforePercentage`, including cron-based renewal windows.
Disabling automatic renewal requires v1.21.1 or later because the setting can
panic the v1.21.0 controller:

```yaml
spec:
  renewal:
    policy: Disabled
```

For a v1.21.0 crash loop caused by this setting, remove `spec.renewal.policy` or
change it from `Disabled` on every affected Certificate, then restart the controller.

`Certificate.spec.renewBeforePercentage` schedules renewal when the specified
percentage of the issued certificate's lifetime remains. v1.21 handles lifetimes
beyond roughly three years without overflowing validation or renewal scheduling.
v1.21.2 fixes February 29 cron renewal windows across century years that skip leap day.

ACME Renewal Information is experimental in v1.21. Enable it on the controller
to use the ACME server's recommended window from its `renewalInfo` endpoint:

```yaml
config:
  featureGates:
    ACMEUseARI: true
```

A CA can use this window to bring renewals forward during revocation or CA key
rollover. Use v1.21.2 or later for correct `replaces` issuer scoping when changing
issuers. v1.21.3 records `status.acme.ari.certID` and fetches fresh ARI after
issuance, preventing stale windows from causing repeated issuance and CA rate limits.

Set `spec.keystores.pkcs12.profile` to `Modern2026` for FIPS 140-3-compatible
PKCS#12 encoding with AES-256 and SHA-256-based key derivation in v1.21.

## HTTP-01 and DNS-01 solvers

v1.18 solver Ingresses use `pathType: Exact`. Strict path validation in affected
ingress-nginx versions rejects the dot in `/.well-known/acme-challenge/`.
Upgrade ingress-nginx to a fixed release such as v1.12.6 or v1.13.2, set its Helm
value `controller.config.strict-validate-path-type: false`, or restore
`ImplementationSpecific` on cert-manager v1.18.1 or later with:

```yaml
config:
  featureGates:
    ACMEHTTP01IngressPathTypeExact: false
```

v1.19 rejects combinations of `class`, `ingressClassName`, and `name` under
`http01.ingress`; set at most one. HTTP-01 Pod template `resources` in an Issuer
or ClusterIssuer's `spec.acme.solvers` list override global
`--acme-http01-solver-resource-*` defaults for that solver.

In v1.21, `waitInsteadOfSelfCheck` on an HTTP-01 or DNS-01 solver skips the local
self-check and requests ACME validation after the configured delay. This can
help with split-horizon DNS or NAT hairpinning.

Use v1.17.1 or later for Cloudflare DNS-01 after its breaking API change.
For Azure DNS private zones, add `zoneType: AzurePrivateZone` to an existing
Azure DNS-01 solver. Set `dns01.rfc2136.protocol` to select RFC2136 update transport.

## Gateway and generated Certificates

ListenerSet integration with Gateway API 1.5 is alpha and disabled by default in
v1.20. Annotate a ListenerSet to generate a Certificate and enable the controller:

```yaml
config:
  featureGates:
    ListenerSet: true
```

Leave `spec.acme.solvers[].http01.gatewayHTTPRoute.parentRefs` empty to infer
parents. Certificate annotations can override parent references; use v1.20.1 or
later when combining issuer configuration with annotation overrides to avoid
duplicate references. For a TLS-only ListenerSet, v1.21 supports
`acme.cert-manager.io/http01-parentreffallback: "true"` to attach the solver
HTTPRoute to the parent Gateway and use a shared HTTP listener there.

Gateway generation skips `Passthrough` TLS listeners. Use a listener that
terminates TLS for Gateway-managed Certificates. In v1.21,
`cert-manager.io/ignore-tls-listeners` excludes selected Gateway TLS listeners.

Cert-shim uses `cert-manager.io/alt-names` and `cert-manager.io/ip-sans` on
Ingress-like resources for generated Certificate DNS and IP SANs in v1.21.

## Issuer authentication and recovery

Vault supports AWS IAM authentication with IRSA, EKS Pod Identity, or ambient
EC2/ECS credentials in v1.21. From v1.21.2, a namespaced Vault Issuer can use the
controller's ambient AWS credentials only with `--issuer-ambient-credentials=true`.
Use an explicit `serviceAccountRef` for IRSA or a ClusterIssuer for cluster-scoped
ambient authentication. The v1.21 webhook rejects `..` path segments in
`spec.vault.path` and Vault auth mount paths; replace them with intended paths.

An ACME Issuer or ClusterIssuer on v1.21.0 can remain `Ready=False` with reason
`InvalidSolver` after its missing DNS-01 Secret is created. v1.21.1 restores
reconciliation. On v1.21.0, edit the affected issuer's `spec` or restart the
controller to trigger a retry; the next informer resync can take up to 10 hours.

## Metrics and diagnostics

ACME request metrics `certmanager_acme_client_request_count` and
`certmanager_acme_client_request_duration_seconds` replace `path` with `action`
in v1.19. Update dashboard and alert queries that filter or group by `path`.
Helm-based Prometheus monitoring uses the fixed metrics label value `cert-manager`
in v1.20; adjust selectors using namespace- or release-derived values.

In v1.21.2, ACME Issuer conditions and Events show bounded ACME problem documents
or just the status code for other HTTP errors; use controller logs for full errors.
For HTTP-01 self-check failures, the fetched response body is in controller debug
logs, while `Challenge.status.reason` omits it.

Only the latest patch of each supported branch receives upstream support.
Consult the support reference for platform ranges, branch lifetimes, security
patch selection, and commercial LTS.

Files in this skill

  • SKILL.md6.9 KB
  • coverage.json1.4 KB
  • references/acme-and-dns-solvers.md3.5 KB
  • references/certificates-and-issuance.md4.5 KB
  • references/gateway-ingress-and-shim.md2.1 KB
  • references/helm-operations-and-security.md3.5 KB
  • references/issuers-integrations-and-api.md2.7 KB
  • references/observability-and-reliability.md2.6 KB
  • references/upgrades-and-support.md4.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.