mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 17:01:00 +01:00

acmetool is an alternative client for Let's Encrypt. (https://github.com/hlandau/acme/) It stores the certificates etc. in the following directory layout: /var/lib/acme/live/<domain> -> ../certs/<hash> /var/lib/acme/certs/<hash>/cert /var/lib/acme/certs/<hash>/chain /var/lib/acme/certs/<hash>/privkey -> ../../keys/<hash>/privkey /var/lib/acme/certs/<hash>/url /var/lib/acme/certs/<hash>/fullchain /var/lib/acme/keys/<hash>/privkey This patch adds the needed permissions to the ssl_certs and ssl_keys abstractions so that the certificates can be used. Acked-by: Seth Arnold <seth.arnold@canonical.com> for trunk, 2.10 and 2.9.
22 lines
650 B
Text
22 lines
650 B
Text
# vim:syntax=apparmor
|
|
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2009 Canonical Ltd.
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of version 2 of the GNU General Public
|
|
# License published by the Free Software Foundation.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
# private ssl permissions
|
|
|
|
# Just include the whole /etc/ssl directory if we should have access to
|
|
# private keys too
|
|
/etc/ssl/ r,
|
|
/etc/ssl/** r,
|
|
|
|
# acmetool
|
|
/var/lib/acme/live/* r,
|
|
/var/lib/acme/certs/** r,
|
|
/var/lib/acme/keys/** r,
|