how do i make sure i use acme-v2? #456

Closed
opened 2025-12-29 01:25:33 +01:00 by adam · 3 comments
Owner

Originally created by @toastbrotch on GitHub (Jan 15, 2020).

i just now received an email from LE that i use v1, which is going to fade out. i have the latest code version, but also a very old config file:

CA="https://acme-v01.api.letsencrypt.org/directory"
LICENSE="https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf"
CHALLENGETYPE="http-01"
BASEDIR=$SCRIPTDIR
DOMAINS_TXT="${BASEDIR}/domains.txt"
CERTDIR="${BASEDIR}/certs"
ACCOUNTDIR="${BASEDIR}/accounts"
WELLKNOWN="/var/www/dehydrated"
KEYSIZE="4096"
HOOK=${BASEDIR}/hook.sh
RENEW_DAYS="30"
PRIVATE_KEY_RENEW="yes"
KEY_ALGO=rsa
CONTACT_EMAIL=foo@bar.com
LOCKFILE="${BASEDIR}/lock"
OCSP_MUST_STAPLE="no"

is it the CA config? i commented it out, but output looks the same... how do i make sure i use acme-v2?
thanx and cheers.ivo

Originally created by @toastbrotch on GitHub (Jan 15, 2020). i just now received an email from LE that i use v1, which is going to fade out. i have the latest code version, but also a very old config file: CA="https://acme-v01.api.letsencrypt.org/directory" LICENSE="https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf" CHALLENGETYPE="http-01" BASEDIR=$SCRIPTDIR DOMAINS_TXT="${BASEDIR}/domains.txt" CERTDIR="${BASEDIR}/certs" ACCOUNTDIR="${BASEDIR}/accounts" WELLKNOWN="/var/www/dehydrated" KEYSIZE="4096" HOOK=${BASEDIR}/hook.sh RENEW_DAYS="30" PRIVATE_KEY_RENEW="yes" KEY_ALGO=rsa CONTACT_EMAIL=foo@bar.com LOCKFILE="${BASEDIR}/lock" OCSP_MUST_STAPLE="no" is it the CA config? i commented it out, but output looks the same... how do i make sure i use acme-v2? thanx and cheers.ivo
adam closed this issue 2025-12-29 01:25:34 +01:00
Author
Owner

@toastbrotch commented on GitHub (Jan 15, 2020):

seems CA is not needed at all, but not sure if this is the only "switch" to v2...

@toastbrotch commented on GitHub (Jan 15, 2020): seems CA is not needed at all, but not sure if this is the only "switch" to v2...
Author
Owner

@jobe1986 commented on GitHub (Jan 15, 2020):

If you take a look at the example config file you will see the CA setting for the "acme-v02" CA:
https://github.com/lukas2511/dehydrated/blob/master/docs/examples/config#L25

@jobe1986 commented on GitHub (Jan 15, 2020): If you take a look at the example config file you will see the CA setting for the "acme-v02" CA: https://github.com/lukas2511/dehydrated/blob/master/docs/examples/config#L25
Author
Owner

@toastbrotch commented on GitHub (Jan 15, 2020):

ok, when its only this config, i've just switched to v2. thanx

@toastbrotch commented on GitHub (Jan 15, 2020): ok, when its only this config, i've just switched to v2. thanx
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#456