mirror of
https://github.com/moepman/acertmgr.git
synced 2024-11-14 06:55:29 +01:00
316ecdba2e
Authorities (e.g. Let's Encrypt) usually have Terms of Serivce (ToS) that have to be agreed to. Up until this point we automatically indicated agreement to those ToS and sent the necessary value. This commit changes the behaviour to be in line with recommendations from Let's Encrypt that the user themselves have to indicate their agreement by no longer automatically doing so (except for cases of legacy configuration files to provide compatibility). The user can now indicate ToS agreement by either setting the associated configuration variable (authority_tos_agreement) to the required value and/or providing the required value via a command-line parameter (--authority-tos-agreement=<value>/--tos-agreement=<value>/--tos=<value>)
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
---
|
|
# Optional: Authority API endpoint to use
|
|
# Legacy ACME v1 API with options:
|
|
#api: v1
|
|
#authority: "https://acme-v01.api.letsencrypt.org"
|
|
#authority: "https://acme-staging.api.letsencrypt.org"
|
|
#authority_tos_agreement: "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"
|
|
# Current (default) ACME v2 API with options:
|
|
#api: v2
|
|
#authority: "https://acme-v02.api.letsencrypt.org"
|
|
#authority: "https://acme-staging-v02.api.letsencrypt.org"
|
|
authority_tos_agreement: "true" # Indicates you agree to the ToS stated by the API provider
|
|
#authority_contact_email: "foo@b.ar" # For single addresses
|
|
#authority_contact_email: # For multiple addresses
|
|
# - "foo@b.ar"
|
|
# - "c4f3@b.ar"
|
|
|
|
# Optional: account_key location. This defaults to "/etc/acertmgr/account.key"
|
|
#account_key: "/etc/acertmgr/account.key"
|
|
|
|
# Optional: global server_key location. Otherwise separate key per server
|
|
#server_key: "/etc/acertmgr/server.key"
|
|
|
|
# Optional: global challenge handling mode with parameters
|
|
#mode: webdir
|
|
#webdir: /var/www/acme-challenge/
|
|
#mode: standalone
|
|
#port: 13135 |