Certmaster automates the process of renewing and installing SSL certificates.
- Creates an SSL cert from Let's Encrypt
- Validates certs using DNS
- Uploads or installs SSL certs to multiple destinations
Certmaster uses the excellent go-acme/lego repository to generate certificates and automate DNS validation. They support 100+ providers, which are listed here.
- SFTP
- Hetzner Load Balancer
Start with the example config.json and modify it.
-
To configure DNS providers, create JSON of the form:
{ "provider": "route53", "AWS_ACCESS_KEY_ID": "ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY": "SECRET_KEY" }
Here,
provider
is the provider name fromgo-acme/lego
's documentation. The rest of the fields are configs specific to your DNS provider. -
Similarly, you configure destinations with all details required to upload.
To update the certificate, just run:
$ ./certmaster create --config config.json
The Docker file is to use with AWS Lambda. When you invoke the function, you send the same JSON payload as the normal config.