Difference between revisions of "Kind: Issuer"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | apiVersion: cert-manager.io/v1 | ||
+ | kind: Issuer | ||
+ | metadata: | ||
+ | name: letsencrypt-prod | ||
+ | spec: | ||
+ | acme: | ||
+ | # The ACME server URL | ||
+ | server: https://acme-v02.api.letsencrypt.org/directory | ||
+ | # Email address used for ACME registration | ||
+ | email: [email protected] | ||
+ | # Name of a secret used to store the ACME account private key | ||
+ | privateKeySecretRef: | ||
+ | name: letsencrypt-prod | ||
+ | # Enable the HTTP-01 challenge provider | ||
+ | solvers: | ||
+ | - http01: | ||
+ | ingress: | ||
+ | ingressClassName: nginx | ||
apiVersion: cert-manager.io/v1 | apiVersion: cert-manager.io/v1 | ||
Line 19: | Line 38: | ||
ingress: | ingress: | ||
ingressClassName: nginx | ingressClassName: nginx | ||
+ | |||
+ | [[k apply -f issuer.yml]] | ||
+ | [[k describe cr -A]] | ||
+ | |||
+ | == Errors == | ||
+ | {{IssuerNotFound}} | ||
+ | |||
== See also == | == See also == |
Latest revision as of 13:05, 14 February 2024
apiVersion: cert-manager.io/v1 kind: Issuer metadata: name: letsencrypt-prod spec: acme: # The ACME server URL server: https://acme-v02.api.letsencrypt.org/directory # Email address used for ACME registration email: [email protected] # Name of a secret used to store the ACME account private key privateKeySecretRef: name: letsencrypt-prod # Enable the HTTP-01 challenge provider solvers: - http01: ingress: ingressClassName: nginx
apiVersion: cert-manager.io/v1 kind: Issuer metadata: name: letsencrypt-staging spec: acme: # The ACME server URL server: https://acme-staging-v02.api.letsencrypt.org/directory # Email address used for ACME registration email: [email protected] # Name of a secret used to store the ACME account private key privateKeySecretRef: name: letsencrypt-staging # Enable the HTTP-01 challenge provider solvers: - http01: ingress: ingressClassName: nginx
k apply -f issuer.yml k describe cr -A
Errors[edit]
Normal IssuerNotFound 13m cert-manager-certificaterequests-issuer-selfsigned Referenced "Issuer" not found: issuer.cert-manager.io "letsencrypt-prod" not found
See also[edit]
kind: Issuer
cert-manager.io [ /issuer | /cluster-issuer ] [ issuer. | certificaterequests. | challenges. ] kind: Issuer, kind: ClusterIssuer
cert-manager
,cert-manager-controller, ingress-shim
,kind: Certificate, kind: ClusterIssuer, Kind: CertificateSigningRequest
, kind: Issuer,kubectl [ get | describe ] certificates
,cmctl
,kubectl get issuer, kubectl get csr, IngressShim
Advertising: