DNSmanager API for certbot --manual-auth-hook --manual-cleanup-hook
Install and renew Let's encrypt wildcard ssl certificate for domain *.site.com using DNSmanager API:
git clone https://github.com/ZAZmaster/certbot-dns-dnsmgr/ && cd ./certbot-dns-dnsmgr && chmod +x *.sh
Set your user name, password and host from DNSmanager )
nano ./config.sh
cd ../ && git clone https://github.com/certbot/certbot && cd certbot
./letsencrypt-auto certonly --manual-public-ip-logging-ok --agree-tos --email info@site.com --renew-by-default -d site.com -d *.site.com --manual --manual-auth-hook ../certbot-dns-dnsmgr/authenticator.sh --manual-cleanup-hook ../certbot-dns-dnsmgr/cleanup.sh --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory
./letsencrypt-auto renew --force-renew --manual --manual-auth-hook ../certbot-dns-dnsmgr/authenticator.sh --manual-cleanup-hook ../certbot-dns-dnsmgr/cleanup.sh --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory