https://github.com/rgglez/letsencrypt-scripts
Some helper scripts for Let's Encrypt administration.
https://github.com/rgglez/letsencrypt-scripts
certificates letsencrypt ndjbdns perl sysadmin-tool
Last synced: 11 months ago
JSON representation
Some helper scripts for Let's Encrypt administration.
- Host: GitHub
- URL: https://github.com/rgglez/letsencrypt-scripts
- Owner: rgglez
- License: gpl-3.0
- Created: 2023-04-19T05:59:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-30T20:56:09.000Z (almost 3 years ago)
- Last Synced: 2025-01-28T01:44:31.329Z (about 1 year ago)
- Topics: certificates, letsencrypt, ndjbdns, perl, sysadmin-tool
- Language: Perl
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# letsencrypt-scripts
[](https://www.gnu.org/licenses/gpl-3.0)



Some helper scripts for Let's Encrypt administration. These scripts use DNS authentication for the requests.
It works with the [ndjbdns](https://github.com/pjps/ndjbdns) server, assuming that each domain has an independent
zone file (see [my scripts](https://github.com/rgglez/ndjbdns-scripts) for working with this configuration).
These scripts must be placed in the same machine as the ndjbdns server.
## Scripts
* **auth_ndjbdns.sh** - Generates the TXT record for the authentication, in the DNS zone file. This assumes that there're 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.
## Dependencies
* [Getopt::Long](https://perldoc.perl.org/Getopt::Long)
* [ndjbdns-scripts](https://github.com/rgglez/ndjbdns-scripts)
## Notes
* You must adjust the paths as you need.
## License
Copyright (c) 2020, Rodolfo González González.
Read the LICENSE file.