phil 7997561412 - Add idempotent certbot installation (skip if already installed)
- Support multiple domains with separate credential files per domain

- Implement optional automatic renewal via cronjob (every 2 months)

- Add interactive prompt to choose between automatic or manual renewal

- Create renewal script at /usr/local/bin/certbot-renewal.sh

- Add comprehensive logging to /var/log/certbot-renewal.log

- Add input validation for domain, email, and API token formats

- Improve error handling with explicit checks on all operations

- Add helper functions for better code organization and reusability

- Allow script to be run multiple times for different domains

- Display certificate paths and renewal configuration after setup

- Check for existing certificates and prompt before overwriting

- Preserve existing crontab entries when adding renewal job
2026-07-24 21:48:40 +01:00
2026-05-03 11:03:32 +00:00
2026-05-03 11:03:32 +00:00

LetsEncrypt-Setup

A quick setup script to install letsencrypt certbot from python and installs the cloudflare api addin with pip

S
Description
A quick setup script to install letsencrypt certbot from python and installs the cloudflare api addin with pip
Readme GPL-3.0 55 KiB
Languages
Shell 100%