How to get URL to subscriber agreement before registering

Is there a way to know the URL for the current subscriber agreement before registering a user? For example, at the /directory endpoint. This would be really nice so that we don’t have to prompt the user twice. Right now, we prompt once for email address, commence the registration request, then prompt again if the SA URL has changed since their last agreement.

But we’d really like to show them the URL up front and just give them one prompt.

1 Like

Apologies for necro'ing the thread. We updated the subscriber agreement today and I found this thread looking for guidance on this exact issue.

Is there a way to know the URL for the current subscriber agreement before registering a user? For example, at the /directory endpoint.

You can get the current subscriber agreement URL for Let's Encrypt from the /terms endpoint. E.g.:

curl -I https://acme-v01.api.letsencrypt.org/terms 2>/dev/null | grep "Location:"
Location: https://letsencrypt.org/documents/LE-SA-v1.1.1-August-1-2016.pdf

The ACME Draft also suggests an optional method for servers to advertise their ToS location as part of a /directory metadata entry. Let's Encrypt does not currently implement the metadata entry described in the draft because it will break some clients. We will likely support it when we next make a breaking change.

3 Likes

Excellent, thank you! I’ll use that /terms link until meta is implemented.

1 Like