mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 17:31:01 +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.
29 lines
924 B
Text
29 lines
924 B
Text
# ------------------------------------------------------------------
|
|
#
|
|
# Copyright (C) 2002-2005 Novell/SUSE
|
|
# Copyright (C) 2010-2011 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.
|
|
#
|
|
# ------------------------------------------------------------------
|
|
|
|
/etc/ssl/ r,
|
|
/etc/ssl/certs/ r,
|
|
/etc/ssl/certs/* r,
|
|
/etc/pki/trust/ r,
|
|
/etc/pki/trust/* r,
|
|
/etc/pki/trust/anchors/ r,
|
|
/etc/pki/trust/anchors/** r,
|
|
/usr/share/ca-certificates/ r,
|
|
/usr/share/ca-certificates/** r,
|
|
/usr/share/ssl/certs/ca-bundle.crt r,
|
|
/usr/local/share/ca-certificates/ r,
|
|
/usr/local/share/ca-certificates/** r,
|
|
/var/lib/ca-certificates/ r,
|
|
/var/lib/ca-certificates/** r,
|
|
|
|
# acmetool
|
|
/var/lib/acme/certs/*/chain r,
|
|
/var/lib/acme/certs/*/cert r,
|