Skip to content

A cert-manager freedns repository for creating an ACME DNS01 solver webhook

License

Notifications You must be signed in to change notification settings

catstrike/cert-manager-webhook-freedns

 
 

Repository files navigation

Introduction

First, RTFM.

Have you read it? If you haven't go read it. Cuz I'll keep everything short.

This is a dns01 solver for FreeDNS.

Pull requests welcome. I'm completely unfamiliar with golang. I did it by looking at other webhook repos and this is the result.

Install

$ cd deploy
$ helm show values freedns-webhook > my-values.yaml
$ edit my-values.yaml
$ helm install -n cert-manager [INSTALLATION_NAME] freedns-webhook/ -f my-values.yaml

ClusterIssuer for Let's encrypt staging

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-staging
spec:
  acme:
    email: [email protected]
    server: https://acme-staging-v02.api.letsencrypt.org/directory
    privateKeySecretRef:
      name: le-staging
    solvers:
    - dns01:
        webhook:
          groupName: acme.freedns.afraid.org
          solverName: freedns-solver
          config:
            secretName: freedns-auth

FreeDNS webhook settings

Normally if you haven't changed anything, the default namespace should be cert-manager. It should be within the same namespace for the webhook when you do helm install webhook -n cert-manager.

apiVersion: v1
kind: Secret
metadata:
  name: freedns-auth
  namespace: cert-manager
data:
  username: [YOUR_USERNAME_IN_BASE64]
  password: [YOUR_PASSWORD_IN_BASE64]
type: Opaque

Additionally, the following names can be customized

  • acme.freedns.afraid.org
  • freedns-auth

About

A cert-manager freedns repository for creating an ACME DNS01 solver webhook

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 86.8%
  • Mustache 6.9%
  • Makefile 4.6%
  • Dockerfile 1.7%