How can I automate letsencrypt ssl renewal on a load balancer?

April 1, 2018 1.7k views
Load Balancing Ubuntu 16.04

Currently, to implement SSL on a load balancer, you need to generate the SSL certs on one of the load balanced servers, and then manually copy the certs into the load balancer.

How can this be automated for auto-renewal?

1 Answer
Foraern April 2, 2018
Accepted Answer

For anyone wondering:

New cert can be created on the account via the api:
https://developers.digitalocean.com/documentation/v2/#certificates

It can then be added to the loadbalancer also via the api:
https://developers.digitalocean.com/documentation/v2/#load-balancers

Have another answer? Share your knowledge.