Using letsencrypt with a nodebalancer.

Avatar forum:abates 10 months ago

I've been looking at what's involved in enabling HTTPS on a website, and letsencrypt seems like it would be ideal for my purposes. The methods they have for installing and maintaining the certificates seem to be based on a single server whereas the website I'm maintaining has several Linodes with a NodeBalancer for performance.

It looks like the only way to install a certificate onto the NodeBalancer is to manually copy and paste it in. Is there a way to automate updating the certificate?

2 Replies

You should definitely be able to use the Linode API to update a NodeBalancer's configuration:

https://linode.com/docs/platform/api/

https://www.linode.com/api/nodebalancer … fig.update">https://www.linode.com/api/nodebalancer/nodebalancer.config.update

https://developers.linode.com/v4/refere … id/configs">https://developers.linode.com/v4/reference/endpoints/nodebalancers/$id/configs

Aha, thanks! That looks like it will work - I can set something up on the main server to automate it.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct