Commit Graph

9 Commits

Author SHA1 Message Date
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
Glen Huang 1890f35cfd haproxy: use .crt as extension for certificates
Signed-off-by: Glen Huang <i@glenhuang.com>
2022-11-28 22:50:46 +08:00
Glen Huang 7f04710579 amce: use procd to restart services
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>
2022-10-24 10:07:06 +08:00
Glen Huang e84f651453 acme: use the hotplug system
Signed-off-by: Glen Huang <heyhgl@gmail.com>
2022-08-16 00:32:04 +02:00
Florian Eckert f2820aa328 haproxy: use new extra_command function definition
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04 08:50:34 +01:00
Christian Lachner 9630b04433 haproxy: Rework hotplug script for HAProxy
- Migrated init-script to procd.
- Removed the old hotplug script as it is unnecessary and
  caused long boot-times for r7800 and possibly others.

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-08 14:38:31 +01:00
Christian Lachner 6cc24a477f haproxy: Update HAProxy to v2.0.0 (LTS)
- Update haproxy download URL and hash
- Add new patches
- Add several CFLAGS (derived from haproxy Makefile) to make the build work with v1.9+
- Update default configuration
- Add check-command (for config) to init-script
- Add prometheus-service from contribs by default

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-06-21 09:09:11 +02:00
Thomas Heil d48626190c haproxy: upgrade haproxy to version 1.5.0
- includes support for SSL Termination, Compression Offloading, OCSP
	  Stapling support and much more

Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2014-06-19 23:45:18 +02:00
Thomas Heil db5d567e7d haproxy: import from packages, add myself as the maintainer
Signed-off-by: Thomas Heil <heil@terminal-consulting.de>
2014-06-12 18:29:23 +02:00