Some helper scripts for Let's Encrypt administration. These scripts use DNS authentication for the requests.
It works with the ndjbdns server, assuming that each domain has an independent zone file (see my scripts for working with this configuration).
These scripts must be placed in the same machine as the ndjbdns server.
auth_ndjbdns.sh
- Generates the TXT record for the authentication, in the DNS zone file. This assumes that there's one zone file per domain.cleanup_ndjbdns.sh
- Removes the TXT record from the DNS zone file, after request is completed.certbot.pl
- Executes the certbot request. It takes 2 parameters:--domains
a string listing the domains, for instance: "example.com *.example.com"--email
your e-mail address.
batch.pl
- Batch processing for several domains. It takes one parameter:--file
the path of a file listing, one per line, the domains to be processed.
privrsa.sh
generates a .rsa file suitable for Aliyun Certificate Manager.fixfullchain.sh
generates a fullchain suitable for Aliyun.
- You must adjust the paths as you need.
Copyright (c) 2020, Rodolfo González González.