artefactual-labs / ansible-acmetool

An Ansible role for installing the acmetool Let's Encrypt client
GNU Affero General Public License v3.0
5 stars 4 forks source link

Acmetool broken because ACMEv1 endpoint has been deprecated #17

Open djjuhasz opened 4 years ago

djjuhasz commented 4 years ago

When I run acmetool via this role or the CLI I receive the following error:

Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430 for details.

A beta ACMEv2 version of acmetool that supports the new endpoint has been released, but as of writing (Dec 20, 2019) binaries are not available and the beta must be compiled manually.

mamedin commented 4 years ago

I built the binary and moved to the path with:

sudo apt install -y golang-go libcap-dev
sudo su -
mkdir sources
cd sources
git config --global http.followRedirects true
git clone https://github.com/hlandau/acme
cd acme
make
cp /usr/bin/acmetool /usr/bin/acmetool-orig
djjuhasz commented 4 years ago

I think I'll also have a look for an Ansible galaxy role that installs certbot since it's the client recommended by Let's Encrypt.