Options were not alphabetically sorted, which made it hard for someone
to find what he is looking for.
Also, the TOML specification link has been updated.
Being able to define root certificates in the command line is not enough
for two reasons:
1. It is always global, you cannot define a root certificate for a
specific endpoint.
2. Daemon scripts and unit files are not meant to be changed every time
you need to add a root certificate.
For those reasons, it is now to possible to define root certificates in
the configuration. Those defined in the `global` section will be used on
every endpoint, just like those added via the command line. Those
defined in an endpoint will be used in this endpoint only.
The part of code that are specific to OpenSSL are now included only if
the openssl feature is activated. The generic parts of code included in
OpenSSL specific files has been moved out.
RFC 8555 states that:
- when an account is successfully created, the server "returns this
account object" (section 7.3);
- the `orders` field in account objects is mandatory (section 7.1.2).
Despite that, Boulder does not returns the `orders` field when an
account is created. This non-standard behavior prevented ACMEd from
creating account and testing them for existence.
In order to allow ACMEd to retrieve certificates from CAs using Boulder,
the `orders` field is no longer mandatory and the account existence is
tested when the order is requested.
https://github.com/letsencrypt/boulder/issues/3335
The key hash is responsible for the initiation of a key rollover on
endpoints. Therefore, it should differ only when such an action is
required, which is only if the key pair has changed. For this, hashing
the public key is sufficient. Adding the signature algorithm will
generate unnecessary key rollovers.
In the Makefile, `make install` is used to create missing directories
and install files into them. Until now, the -D option was used for this
job. However, FreeBSD as an implementation of the install command that
differs about this option. In order to remain compatible with FreeBSD,
the -D option has been removed and replace by prior directory creation
using the -d option, which is common to (most?) implementations.
https://www.freebsd.org/cgi/man.cgi?query=installhttps://man.openbsd.org/installhttps://linux.die.net/man/1/install
The `dist: xenial` has been added because, at the time, build was done
using an old version of Ubuntu including an unsupported version of
OpenSSL. Now that Xenial is the default build version, this option
should be removed.
See commit 261e0e50fd
The previous strategy for accounts management on endpoints was to send
an account creation request every time in order to retrieve the account
URL. Although it works on most cases, the contact information or key
update wasn't handled correctly.
The only drawback of this new way of managing accounts is that, if the
endpoints drops the account, ACMEd will fail to renew any certificate
for this account on this endpoint. Previously, it would have simply
created a new account. This should be fixed soon.