Skip to content

Cert-manager ACME DNS webhook provider for ISPManager.

License

Notifications You must be signed in to change notification settings

GlobalArtInc/cert-manager-webhook-ispmanager

Repository files navigation

cert-manager-webhook-ispmanager

Cert-manager ACME DNS webhook provider for ISPManager.

Installing

To install with helm, run:

$ helm repo add globalart https://globalartinc.github.io/helm-charts
$ helm upgrade -n cert-manager --install cert-manager-webhook-ispmanager globalart/cert-manager-webhook-ispmanager

Issuer/ClusterIssuer

An example issuer:

---
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: letsencrypt
  namespace: default
spec:
  acme:
    server: https://acme-staging-v02.api.letsencrypt.org/directory
    email: [email protected]
    solvers:
    - dns01:
        webhook:
          groupName: acme.ispmanager.com
          solverName: ispmanager-provider
          config:
            panelUrl: "your_panel_url"
            user: "username"
            password: "password"

And then you can issue a cert:

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  name: sel-letsencrypt-crt
  namespace: default
spec:
  secretName: example-com-tls
  commonName: example.com
  issuerRef:
    name: letsencrypt-staging
    kind: Issuer
  dnsNames:
  - example.com
  - www.example.com

Development

Running the test suite

You can run the test suite with:

  1. Fill in the appropriate values in testdata/ispmanager/config.json
  2. Replace DNS_SERVER on your DNS_SERVER_IP
$ DNS_SERVER=10.251.10.161:53 TEST_ZONE_NAME=example.com. make test

About

Cert-manager ACME DNS webhook provider for ISPManager.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published