ISPsystem DNS API for certbot --manual-auth-hook --manual-cleanup-hook
Install and renew Let's encrypt wildcard ssl certificate for domain *.site.com using ISPsystem DNS API:
git clone https://github.com/gordienko/certbot-dns-dnsmanager.git && cd ./certbot-dns-dnsmanager
Get the parameters in your control panel or in your provider's billing system.
nano ./config.sh
cd ../ && git clone https://github.com/certbot/certbot && cd certbot
./letsencrypt-auto certonly --manual-public-ip-logging-ok --agree-tos --email [email protected] --renew-by-default -d site.com -d *.site.com --manual --manual-auth-hook ../certbot-dns-dnsmanager/authenticator.sh --manual-cleanup-hook ../certbot-dns-dnsmanager/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-dnsmanager/authenticator.sh --manual-cleanup-hook ../certbot-dns-dnsmanager/cleanup.sh --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory