openwrt-packages/net/acme-acmesh
Toke Høiland-Jørgensen 17691a5a52 acme-acmesh: Provide a 'combined' certificate bundle as well
The haproxy hotplug script creates a 'combined' certificate bundle that
contains both the certificate chain and the private key. However, having a
daemon hotplug script write into CERT_DIR is not great; so let's provide
the bundle as part of the main acme framework, keeping it in $domain_dir
and just linking it into CERT_DIR. That way we can keep CERT_DIR as just a
collection of links for everything, that no consumers should need to write
into.

Also make sure to set the umask correctly so the combined file is not
world-readable (since it contains the private key).

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2022-12-14 16:43:45 +01:00
..
files acme-acmesh: Provide a 'combined' certificate bundle as well 2022-12-14 16:43:45 +01:00
Makefile acme-acmesh: Provide a 'combined' certificate bundle as well 2022-12-14 16:43:45 +01:00