Hi All,
I have a problem to using Cert+Manager + Let’s encrypt in my Kubernetes, I would to get an help on it, thank in advance…
? What is the problem?
Basically I can create an certificate for one domain, when I try to create another certificate for another domain doesn’t works…
Let me share with you the yaml code…
kind: Certificate
metadata:
name: certificate
namespace: default
spec:
duration: 1440h
renewBefore: 168h
commonName: <http://www.domain.com|www.domain.com>
dnsNames:
- <http://www.domain.com|www.domain.com>
secretName: certificate
issuerRef:
name: letsencrypt-prod
kind: ClusterIssuer```
apiVersion: <http://cert-manager.io/v1|cert-manager.io/v1>
kind: ClusterIssuer
metadata:
name: letsencrypt-prod
spec:
acme:
server: <https://acme-v02.api.letsencrypt.org/directory>
email: <mailto:support@domain.com|support@domain.com>
privateKeySecretRef:
name: letsencrypt-prod
solvers:
- http01:
ingress:
class: nginx```
Please put this in where it belongs