Automatically set up certificate from Let's Encrypt
Open, NormalPublic



Make it easy for users to set up a secure site by automatically getting a certificate from Let's Encrypt.


Use something like lego.

If a user chooses Production, standalone and Secure during the setup process, before asking for the certificate / key paths, ask if the user wants to get a new certificate from Let's Encrypt. If so, do it -- if not, prompt for certificate / key paths.

Event Timeline

matt created this task.Nov 22 2018, 3:32 PM
matt created this object with visibility "Public (No Login Required)".
matt added a comment.Dec 14 2018, 2:22 PM

Need a little time to read into the "magic" that happens in this library, but certmagic might be the easiest way to implement this.

matt moved this task from v1.0 to Far Future on the WriteFreely board.Dec 22 2018, 3:56 PM
matt edited projects, added WriteFreely; removed WriteFreely (v1.0).
matt added a comment.Feb 4 2019, 10:30 PM

From certmagic:

Before using this library, your domain names MUST be pointed (A/AAAA records) at your server (unless you use the DNS challenge)!

I could see this being an obstacle to implementing this. Especially if we have to differentiate between dev and prod for whether or not to do the automagic stuff, this might end up making installation too much of a pain.