Wildcard SSL certificates from Letsencrypt (certbot) on RaspberryPi using Digitalocean plugin
Generate and renew wildcard certificates for Domains managed on Digitalocean using certbot from Letsencrypt.
- Domain managed on Digitalocean.
- Digitalocean API access key.
Use the template and create the credentials file.
$ cp config/digitalocean.ini.example config/digitalocean.ini
Get the API access key from digitalocean and update the
dns_digitalocean_token variable in th credentials file.
The project uses
Makefile to ease the process of certificate generation
It uses variables set in the file
Use the template and create the file:
$ cp config/.makeenv.example config/.makeenv
config/.makeenv to match your requirements.
$ make generate-certificates
Cronjob to renew certificates
LetEncrypt issues certificates that are valid only for 90 days.
The certificates need to be renewed very often.
This project also includes the scripts to renew the certificates
To install the cronjob. Simple run:
$ make install-renewal-cron
If you choose not to renew automatically, you can also run the following:
$ make renew
After success hooks
The project supports running bash scripts after generating and renewing the
These bash script can be placed (or symlinked) in the