Cert Manager's ACME (automated certificate management environment) issuer type supports an optional 'webhook' solver, which can be used to implement custom DNS01 challenge solving logic.
IBM Cloud Internet Services is not officially supported in cert-manager core, so if you want to automatically provision certificates with cert-manager using DNS challenges, you can use this repository to do so.
You must have cert-manager already installed in your cluster.
See installation instructions here.
You can install this webhook using helm:
helm install cert-manager-ibm-cis-webhook --set ibmCloudApiKey="<your IBM Cloud API key>"
Create or update an Issuer
(or ClusterIssuer
) to reference the newly installed solver:
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: acme-dns-issuer
spec:
acme:
email: [email protected]
privateKeySecretRef:
name: letsencrypt
server: https://acme-v02.api.letsencrypt.org/directory
solvers:
- dns01:
webhook:
config:
ibmCloudCisCrns:
- "crn:v1:bluemix:public:internet-svcs:global:a/***:***::"
groupName: acme.skills.network
solverName: ibm-cloud-cis
selector:
dnsZones:
- your.site.domain.com
After update your issuer, cert-manager should be able to automatically complete challenges for your certificates on IBM CIS-managed domains.
Contributions are welcome. Please see docs/CONTRIBUTING.md to get started.