Good afternoon,
Trying to get cert-manager viable using a self-signed CA. I installed cert-manager using:
helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.14.5 --set installCRFs=true
From here I attempted to configure it by running the following:
#Create self-signed issuer
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: selfsigned-issuer
spec:
selfSigned: {}
---
#Create CA Certificate
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: my-selfsigned-ca
namespace: cert-manager
spec:
isCA: true
commonName: custom-selfsigned-ca
secretName: root-secret
subject:
organizations:
- ExampleCompany
countries:
- US
privateKey:
algorithm: ECDSA
size: 256
issuerRef:
name: selfsigned-issuer
kind: ClusterIssuer
group: cert-manager.io
---
#Create clusterIssuer
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: my-ca-issuer
spec:
ca:
secretName: root-secret
At this point the backend cluster-manager components all show as READY:
NAME READY AGE
selfsigned-issuer True 1D
my-ca-issuer True 1D
I then added the following annotation to my ingress:
cert-manager.io/cluster-issuer: my-ca-issuer
But when I deploy, I do not see a certificate created that aligns to my tls.secretName and the ingress still shows the default Traefik cert out of the box. Any thoughts what may be missing from a self-signed perspective for ingress using cert-manager? Thank you!