certbot-zimbra icon indicating copy to clipboard operation
certbot-zimbra copied to clipboard

Use acme.sh as backend

Open maxxer opened this issue 4 years ago • 5 comments

Ok ditch certbot-auto and install certbot from packages, or via snap

I am strongly considering migrating to acme.sh or another similar ACME client, since certbot now wants to be installed via snap (on older distribution releases, the only way to get an up-to-date certbot, since the distro repos have outdated versions), and I refuse to install snap on my servers.

Originally posted by @jjakob in https://github.com/YetOpen/certbot-zimbra/issues/129#issuecomment-840439335

maxxer avatar May 13 '21 12:05 maxxer

I'm fine with that, indeed I'm not loving using snap either.

Do you have time to take care of this, because I don't 😓

maxxer avatar May 13 '21 12:05 maxxer

I'll see when I get some time, hopefully this month.

jjakob avatar May 13 '21 15:05 jjakob

Looks like this one is pretty promising. https://github.com/acmesh-official/acme.sh

I haven't looked into how the current renewals work to see how much effort it would take to switch but I have to agree as convenient as snaps are for some things I really feel weird installing them on everything for something so simple as there slow...

meramsey avatar Jun 14 '21 05:06 meramsey

Acme.sh has a plugin for Zimbra install. Also there's a wiki page on how to delpoy LE cert in Zimbra using acme.sh.

maxxer avatar Jun 28 '21 09:06 maxxer

Certbot can now be installed via pip, which looks like a less invasive method rather than snap. Also, going acme.sh where there's already an implementation for Zimbra is a duplicate effort.

I'd stay as is, we could implement certbot installation either via pip or snap directly in the script

maxxer avatar Nov 15 '21 15:11 maxxer

After considering acme.sh I personally don't consider it adequate as they don't do release or code signing. Neither does certbot-zimbra but maybe we can in the future do commit and release signing. It's good that all the tools the script relies on are signed so they can be verified by the user during their installation process.

jjakob avatar Feb 26 '23 22:02 jjakob