Expected Behavior
Configuring knative as described in this guide, using the HTTP-01 challenge, should lead to automatic certificate provisioning.
Actual Behavior
It doesn't.
Steps to Reproduce the Problem
Follow the guide - HTTP-01 challenge mode.
Additional Info
Looking through the logs the following error can be found
2021-05-12 15:57:19.513 CEST Event(v1.ObjectReference{Kind:"Certificate", Namespace:"default", Name:"route-bbc3a90b-4aa2-4816-b510-e34a263a63c7", UID:"d537db59-1ca8-4936-9c2a-d78517a0ff6e", APIVersion:"networking.internal.knative.dev/v1alpha1", ResourceVersion:"1283952", FieldPath:""}): type: 'Warning' reason: 'InternalError' clusterissuer.cert-manager.io "letsencrypt-issuer" not found
the issuer is incorrectly named. Renaming it from
metadata: name: letsencrypt-http01-issuer
to
metadata: name: letsencrypt-issuer
fixes the issue and automatic certificate provisioning starts to work.
Install information:
- Platform (GKE, IKS, AKS, etc.): GKE
- Knative Version: "v0.22.0"
Expected Behavior
Configuring knative as described in this guide, using the HTTP-01 challenge, should lead to automatic certificate provisioning.
Actual Behavior
It doesn't.
Steps to Reproduce the Problem
Follow the guide - HTTP-01 challenge mode.
Additional Info
Looking through the logs the following error can be found
2021-05-12 15:57:19.513 CEST Event(v1.ObjectReference{Kind:"Certificate", Namespace:"default", Name:"route-bbc3a90b-4aa2-4816-b510-e34a263a63c7", UID:"d537db59-1ca8-4936-9c2a-d78517a0ff6e", APIVersion:"networking.internal.knative.dev/v1alpha1", ResourceVersion:"1283952", FieldPath:""}): type: 'Warning' reason: 'InternalError' clusterissuer.cert-manager.io "letsencrypt-issuer" not foundthe issuer is incorrectly named. Renaming it from
metadata: name: letsencrypt-http01-issuerto
metadata: name: letsencrypt-issuerfixes the issue and automatic certificate provisioning starts to work.
Install information: