kchristensen / udm-le

Let's Encrypt support for Ubiquiti UniFi OS
MIT License
593 stars 79 forks source link

Update paths for 2.x to use the persistent area and updated paths for certs #68

Closed emlynmac closed 1 year ago

emlynmac commented 1 year ago

Changes in 2.x mean some updates to the scripts.

kchristensen commented 1 year ago

I haven't really had time to mess with this on 2.4 yet, but isn't this also going to require swapping the docker/podman bit out with something to grab a lego binary from somewhere and running that instead of podman?

emlynmac commented 1 year ago

There are options here for sure, installing a dependent binary for either the lego or podman. I used podman (from here: https://github.com/unifi-blueberry/addon-podman/releases) as I still want the containers option. With the new firmware, it's just a dpkg -i <file> I wanted to get the new path locations to you, as there's likely going to be issues with the roll-out of the 2.x mainstream

kchristensen commented 1 year ago

From what I gather, UI is going to do their best to dissuade (prevent) people from installing podman moving forward so it may be wise to take the route of downloading a lego binary. Let me think about how I want to handle merging this, I'm probably going to do so into a 2.x branch so as not to totally break it for people on 1.x while it gets figured out.

emlynmac commented 1 year ago

Sounds good - and thanks for making the LE stuff work on the UDM!