mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Set the context of files needed by the selfsign CA so Apache can write them
This commit is contained in:
committed by
Jason Gerard DeRose
parent
0e4a1b5be5
commit
585540e0a2
@@ -3,3 +3,8 @@
|
||||
#
|
||||
/var/cache/ipa/sessions(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
|
||||
/var/cache/ipa/assets(/.*)? gen_context(system_u:object_r:httpd_sys_content_t,s0)
|
||||
|
||||
# Make these files writable so the selfsign plugin can operate
|
||||
/etc/httpd/alias/cert8.db -- gen_context(system_u:object_r:cert_t,s0)
|
||||
/etc/httpd/alias/key3.db -- gen_context(system_u:object_r:cert_t,s0)
|
||||
/var/lib/ipa/ca_serialno -- gen_context(system_u:object_r:cert_t,s0)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module ipa_httpd 1.1;
|
||||
module ipa_httpd 1.2;
|
||||
|
||||
require {
|
||||
type httpd_t;
|
||||
|
||||
Reference in New Issue
Block a user