certbot-dns-porkbun

command module
v0.0.0-...-8056a9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

README

certbot-dns-porkbun

Porkbun Certbot DNS plugin in Go.

Usage

Run go compiler to get the linux binary (requires go 1.21+):

GOOS=linux GOARCH=amd64 go build -trimpath .

Copy certbot-dns-porkbun along with the 2 bash scripts (authenticator.sh and clenaup.sh) to the same directory of your server (I usually put them under /etc/letsencrypt/porkbun)

Edit the shell scripts on your server and replace the porkbun api and secret keys.

Run certbot with:

sudo certbot certonly \
  -n \
  --agree-tos \
  --email <your email> \
  --manual \
  --preferred-challenges=dns \
  --manual-auth-hook /path/to/authenticator.sh \
  --manual-cleanup-hook /path/to/cleanup.sh \
  -d yourdomain.com \
  -d *.yourdomain.com

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL