| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
| |
The contract between the acme-common framework and consumers and hook
scripts is that certificates can be consumed from /etc/ssl/acme and that
web challenges are stored in /var/run/acme/challenge. Make this explicit by
exporting $CERT_DIR and $CHALLENGE_DIR as environment variables as well,
instead of having knowledge of those paths depend on out-of-band
information. We already exported $challenge_dir, but let's change it to
upper-case to make it clear that it's not a user configuration variable.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
state_dir is actually a hardcoded value in conffiles. Allowing users to
customize it could result in losing certificates after upgrading if they
don't also specify the dir as being preserved. We shouldn't default to
this dangerous behavior.
With the new ACME package, certificates live in the standard location
/etc/ssl/acme, users who need to do certificate customizations should
look for them in that dir instead.
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
| |
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
| |
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
|
|
|
|
|
|
|
| |
acme.sh by default use public DNS resolvers to check if TXT record was
correctly added when using DNS-01. This can be undesirable in a private
environment where the DNS server is not publicly accessible.
This option allows bypassing such check and simply waiting for a
specific length of time for the TXT record to take effect.
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
|
|
|
| |
Legacy use_staging option was not respected, and the example config
still use the legacy name.
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
|
|
|
| |
Directly calling `/etc/init.d/<service> reload` in a hotplug script can
inadvertently start a stopped service.
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
|
|
| |
Issuing certificates concurrently should not be supported.
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
|
|
|
| |
Since the dir is a standardized one, it should not be created
dynamically
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
|
|
|
| |
Since state_dir can be customized, it should be create dynamically,
which it already does.
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
|
|
| |
Signed-off-by: Glen Huang <i@glenhuang.com>
|
|
Signed-off-by: Glen Huang <heyhgl@gmail.com>
|