Skip to content

[e2e] Error: "tls: failed to verify certificate: x509: certificate signed by unknown authority" #13300

@peppi-lotta

Description

@peppi-lotta

Which jobs are flaking?

periodic-cluster-api-e2e-mink8s-release-1-11
periodic-cluster-api-e2e-latestk8s-main
periodic-cluster-api-e2e-release-1-11

Which tests are flaking?

  • capi-e2e [It] When following the Cluster API quick-start with dualstack and ipv4 primary [IPv6] Should create a workload cluster [IPv6]
  • capi-e2e [It] When following the Cluster API quick-start Should create a workload cluster
  • capi-e2e [It] When following the Cluster API quick-start with v1beta1 ClusterClass [ClusterClass] Should create a workload cluster [ClusterClass]
  • When testing Cluster API working on self-hosted clusters using ClusterClass with a HA control plane [ClusterClass] Should pivot the bootstrap cluster to a self-hosted cluster [ClusterClass]
  • capi-e2e [It] When testing Cluster API working on self-hosted clusters using ClusterClass [ClusterClass] Should pivot the bootstrap cluster to a self-hosted cluster [ClusterClass]

Since when has it been flaking?

Jan 23 2026

Testgrid link

https://storage.googleapis.com/k8s-triage/index.html?text=tls%3A%20failed%20to%20verify%20certificate&job=.*cluster-api&xjob=.*-provider-

Reason for failure (if possible)

Failure to call webhook because of tls: failed to verify certificate: x509: certificate signed by unknown authority

Anything else we need to know?

First occurrence is Jan 23 2026 but the error peaked Jan 28 and Feb 3 with multiple errors per day

I noticed cert-manager bump was merged around the time the first peak happened
#13279
#13278
#13277

Label(s) to be applied

/kind flake
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/flakeCategorizes issue or PR as related to a flaky test.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions