diff --git a/certbot.wrapper b/certbot.wrapper index b7ce120bd..4f1143a2e 100755 --- a/certbot.wrapper +++ b/certbot.wrapper @@ -29,7 +29,7 @@ esac export CERTBOT_AUGEAS_PATH="${SNAP}/usr/lib/${ARCH_TRIPLET}/libaugeas.so.0" -CERTBOT_PLUGIN_PATH="$(snap connections certbot | gawk 'BEGIN {ORS=""} NR>1 { if ($1 == "content[certbot-1]") { split($3,a,":"); PLUGINS=PLUGINS":/snap/"a[1]"/current/lib/python3.8/site-packages/"; next; } } END { print substr(PLUGINS, 2) }')" +CERTBOT_PLUGIN_PATH="$(curl -s --unix-socket /run/snapd.socket "http://localhost/v2/connections?snap=certbot&interface=content" | jq -r '.result.established | map(select(.plug.plug == "plugin" and ."plug-attrs".content == "certbot-1") | "/snap/"+.slot.snap+"/current/lib/python3.8/site-packages/" ) | join(":")')" export CERTBOT_PLUGIN_PATH exec certbot "$@" diff --git a/certbot/README.rst b/certbot/README.rst index 8af8a344c..6d04e6fa3 100644 --- a/certbot/README.rst +++ b/certbot/README.rst @@ -67,9 +67,9 @@ Let's Encrypt Website: https://letsencrypt.org Community: https://community.letsencrypt.org -ACME spec: http://ietf-wg-acme.github.io/acme/ +ACME spec: `RFC 8555 `_ -ACME working area in github: https://github.com/ietf-wg-acme/acme +ACME working area in github (archived): https://github.com/ietf-wg-acme/acme |build-status| diff --git a/certbot/docs/using.rst b/certbot/docs/using.rst index c2c0910e5..cca6e2b2f 100644 --- a/certbot/docs/using.rst +++ b/certbot/docs/using.rst @@ -392,7 +392,7 @@ abuse of the ACME protocol, as described .. _changing: Changing a Certificate's Domains -================================ +-------------------------------- The ``--cert-name`` flag can also be used to modify the domains a certificate contains, by specifying new domains using the ``-d`` or ``--domains`` flag. If certificate ``example.com`` diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2cd5271c4..c048a5dbc 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -72,7 +72,8 @@ parts: - python3-pkg-resources - python3.8-minimal # added for certbot.wrapper script: - - gawk + - curl + - jq # To build cryptography and cffi if needed build-packages: [gcc, libffi-dev, libssl-dev, git, libaugeas-dev, python3-dev] build-environment: