Integrating cert-manager with DNS4ACME¶
Cert-manager is a Kubernetes certificate management tool it supports sending RFC 2136 DNS updates to create DNS records.
Assuming you have cert-manager set up in your cluster, you can create the following record to point to DNS4ACME:
apiVersion: v1
kind: Secret
metadata:
name: dns4acme
data:
example.com: asdf # (1)!
---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: example-issuer
spec:
acme: # (2)!
solvers:
- dns01:
rfc2136:
nameserver: dns4acme.example.com # (3)!
tsigKeyName: _acme-challenge.example.com # (4)!
tsigAlgorithm: HMACSHA512 # (5)!
tsigSecretSecretRef: # (6)!
name: dns4acme
key: example.com
- Add your update key here.
- See the cert-manager documentation for other fields needed here.
- Point this to your DNS4ACME server.
- Update this to match your domain exactly.
- Use
HMACSHA256
orHMACSHA512
here. Older signing algorithms such asHMACMD5
are not supported. - Reference your secret from above here.