Skip to content
Back to skills

Cert Manager Knowledge Patch

ASecurity

cert-manager

  • 25 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 5, 2026
developmentrustgoawsapisecurity

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-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-cert-manager-knowledge-patch-nevaberry-plugins)

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

Load this skill when upgrading cert-manager, configuring Certificates and issuers,
changing Helm deployments, or diagnosing ACME, renewal, Gateway, and CA injection
behavior. Use the topic references for complete configuration details and fixes.

## Reference index

| Reference | Topics |
| --- | --- |
| [ACME and challenge solvers](references/acme-and-challenge-solvers.md) | HTTP-01, DNS-01, provider changes, retries, RBAC, readiness, response limits |
| [Certificates and renewal](references/certificates-and-renewal.md) | Key rotation, history, renewal policies, ARI, SANs, keystores, issuance correctness |
| [Gateway, Ingress, and cert-shim](references/gateway-ingress-and-cert-shim.md) | ListenerSets, HTTPRoutes, parent references, annotations, generated Certificates |
| [Helm and platform operations](references/helm-and-platform-operations.md) | Chart values, RBAC, Pod identity, networking, scheduling, webhook validation |
| [Issuers and external providers](references/issuers-and-external-providers.md) | Vault, AWS IAM, Venafi, CA signing, issuer selection |
| [Observability, cainjector, and clients](references/observability-cainjector-and-clients.md) | Metrics, logs, CA merging, server-side apply, Go clients |
| [Upgrades and support](references/upgrades-and-support.md) | Distribution, compatibility, support policy, security patches, trust stores, source builds |

## Breaking changes and deprecations

### Private keys and CertificateRequest 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. The v1.18 installation-wide opt-out is in the certificate reference.
In v1.20, `DefaultPrivateKeyRotationPolicyAlways` is GA and cannot be disabled;
remove settings that disable it and use `spec.privateKey.rotationPolicy: Never`
on individual Certificates that need key reuse.

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

### HTTP-01 path validation and ingress selectors

In v1.18, solver Ingresses use `pathType: Exact`. Affected ingress-nginx versions
reject the dot in `/.well-known/acme-challenge/` under strict path validation.
Upgrade ingress-nginx to a fixed release such as v1.12.6 or v1.13.2, or set
`controller.config.strict-validate-path-type: false` in its Helm values.
On v1.18.1 or later, these cert-manager Helm values restore `ImplementationSpecific`:

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

In v1.19, set at most one of `class`, `ingressClassName`, and `name` under
`http01.ingress`; combinations are rejected.

### Helm RBAC and monitoring migrations

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

For v1.21, remove these Helm keys because Helm rejects them:

- `prometheus.servicemonitor.targetPort`
- `prometheus.servicemonitor.path`
- `prometheus.podmonitor.path`

Custom monitors using `tcp-prometheus-servicemonitor` must use `http-metrics`
and scrape `/metrics`. In v1.19, the ACME request count and duration metrics
replace `path` with `action`; update dashboard and alert queries accordingly.
In v1.20, Helm-based Prometheus monitoring uses the fixed metrics label value
`cert-manager`; adjust selectors that used namespace- or release-derived values.

### Direct ACME writes and validation

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

Starting with v1.21.0-beta.0, an Order's `spec` is immutable, a user-created
Challenge must have an Order owner even with custom write RBAC, and the controller
checks the spec of an existing Challenge with the expected name.

### Gateway configuration, CA injection, and Go clients

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

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

In v1.21, `CAInjectorMerging` is GA: remove `CAInjectorMerging=false` from
cainjector's feature gates. Cainjector always uses server-side apply and deprecates
`ServerSideApply`. Go clients using the deprecated `ObjectReference` declaration
must update those references when adopting the v1.21 API.

On v1.18, `ValidateCAA` is accepted but ignored and can be removed from settings.

### Pod identity and issuer-reference defaults

In v1.20, container UID and GID both default to `65532`, replacing UID `1000`
and GID `0`. Check volume permissions that depend on the previous IDs.
Use v1.19.1 or later for runtime issuer-reference defaults: v1.19.0 CRD defaults
could trigger unnecessary certificate reissuance on upgrade.

## Renewal and issuance

### Renewal policies and recovery

Use `spec.renewal` for renewal policies and cron-based renewal windows beyond
`renewBefore` and `renewBeforePercentage`. Disabling automatic renewal requires
v1.21.1 or later because the setting can panic the v1.21.0 controller:

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

If v1.21.0 crash-loops after disabling renewal, remove `spec.renewal.policy` or
change it from `Disabled` on each affected Certificate, then restart the controller.
v1.21.2 fixes February 29 cron renewal windows across century years that skip leap day.

### Experimental ACME Renewal Information

Enable `ACMEUseARI` on the controller to use the ACME server's recommended renewal
window from `renewalInfo`. A CA can bring renewals forward during revocation or
CA key rollover. The feature is experimental.

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

Use v1.21.2 or later for correct issuer scoping of `replaces` when changing issuers.
v1.21.3 records `status.acme.ari.certID` and fetches fresh ARI after issuance,
preventing stale renewal windows from causing repeated issuance and CA rate limits.

### Backoff and staging Secret ownership

Set `certificateRequestMaximumBackoffDuration` in controller configuration,
`config.certificateRequestMaximumBackoffDuration` in Helm, or
`--certificate-request-maximum-backoff-duration=8h` to cap failed CertificateRequest
exponential retry backoff. The default cap is `32h`.

In v1.21.3, the request and issuance controllers accept the Secret named by
`status.nextPrivateKeySecretName` only if the Certificate owns it, it has the
`cert-manager.io/next-private-key` label, and its name differs from `spec.secretName`.
The key manager uses generated staging Secret names, emits a `NotOwned` Warning
event for an unowned Secret, and repoints status to the owned staging Secret when
the names disagree.

## Solvers, providers, and generated Certificates

### Self-checks and missing DNS solver Secrets

Set `waitInsteadOfSelfCheck` on an HTTP-01 or DNS-01 solver to skip the local
self-check and request ACME validation after the configured delay. This can help
when split-horizon DNS or NAT hairpinning gives the controller a different view
from the ACME server.

In v1.21.0, creating a missing DNS-01 solver Secret can leave an ACME Issuer or
ClusterIssuer at `Ready=False` with reason `InvalidSolver`. v1.21.1 restores
reconciliation on Secret creation. On v1.21.0, edit the affected issuer's `spec`
or restart the controller to retry; informer resync can take up to 10 hours.

### Vault AWS IAM authentication

The Vault issuer supports AWS IAM authentication through IRSA, EKS Pod Identity,
or ambient EC2/ECS credentials without stored AWS access keys. Starting in v1.21.2,
a namespaced Vault `Issuer` using AWS IAM auth can use controller ambient AWS credentials only with
`--issuer-ambient-credentials=true`. Use an explicit `serviceAccountRef` for IRSA
or a `ClusterIssuer` for cluster-scoped ambient authentication.

The webhook rejects `..` path segments in `spec.vault.path` and Vault auth mount
paths; replace relative segments with the intended paths before submitting an Issuer or ClusterIssuer.

### ListenerSets and Certificate annotations

With Gateway API 1.5, annotate a ListenerSet to generate a Certificate. ListenerSet
integration is alpha and disabled by default; its opt-in configuration is in the
Gateway reference. For HTTP-01 with a TLS-only ListenerSet, set
`acme.cert-manager.io/http01-parentreffallback: "true"` to attach the solver HTTPRoute
to the parent Gateway and use a shared HTTP listener there.

`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.2,
Gateway and ListenerSet listeners sharing a Secret produce deduplicated `dnsNames`.

### Keystore encoding

JKS and PKCS#12 keystores accept either a literal `password` or `passwordSecretRef`.
Set `spec.keystores.pkcs12.profile: Modern2026` for FIPS 140-3-compatible PKCS#12
encoding with AES-256 and SHA-256-based key derivation.

## Diagnostics and upgrade fixes

In v1.21.2, ACME Issuer conditions and Events contain bounded ACME problem
documents or only the HTTP status code; use controller logs for the full error.
For HTTP-01 self-check response bodies, use controller debug logs:
`Challenge.status.reason` omits the body. ACME response bodies are capped at 16 MiB.

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 compromised
intermediates. v1.20.5 uses Debian 13 base images and also drops
`AAA Certificate Services`. Building cert-manager 1.20 from source or importing it
as a Go module requires Go 1.26 or later starting in v1.20.5.

Only the latest patch of each supported minor branch receives upstream support.
Use the upgrade reference for platform compatibility, branch support windows,
security fixes, and the release-specific interpretation of scanner findings.

Files in this skill

  • SKILL.md10.2 KB
  • coverage.json1.4 KB
  • references/acme-and-challenge-solvers.md4.7 KB
  • references/certificates-and-renewal.md4.8 KB
  • references/gateway-ingress-and-cert-shim.md2.8 KB
  • references/helm-and-platform-operations.md4.3 KB
  • references/issuers-and-external-providers.md2.9 KB
  • references/observability-cainjector-and-clients.md2.8 KB
  • references/upgrades-and-support.md5.7 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.