Skip to content

sharkbit/certbot-dns-dnsmanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

certbot-dns-dnsmanager

Hostwinds DNS API for certbot --manual-auth-hook --manual-cleanup-hook

Install and renew Let's encrypt wildcard ssl certificate for domain *.site.com using Hostwinds DNS API:

1) Clone this repo and set the API key

git clone https://github.com/Hostwinds/certbot-dns-dnsmanager.git && cd ./certbot-dns-dnsmanager

2) Edit access settings

Create your Cloud API Key from the Cloud Control -> Accounts -> API Key page

nano ./config.sh

3) Script Requires curl & jq

sudo apt install curl jq -y``` or ```sudo yun install curl jq -y

4) Install CertBot from git

cd ../ && git clone https://github.com/certbot/certbot && cd certbot

5) Generate wildcard

./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-dnsmanager/authenticator.sh --manual-cleanup-hook ../certbot-dns-dnsmanager/cleanup.sh --preferred-challenges dns-01 --server https://acme-v02.api.letsencrypt.org/directory

6) Force Renew

./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

About

Hostwinds Certbot manual auth & cleanup hooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages