summaryrefslogtreecommitdiffstats
path: root/lib/importenv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/importenv.rb')
0 files changed, 0 insertions, 0 deletions
='#n24'>24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
module ipa_dogtag 1.5;

require {
	type httpd_t;
	type cert_t;
	type pki_ca_t;
	type pki_ca_var_lib_t;
	type certmonger_t;
	class dir write;
	class dir add_name;
	class dir remove_name;
	class dir search;
	class dir getattr;
	class file read;
	class file getattr;
	class file open;
	class file create;
	class file write;
	class file rename;
	class lnk_file create;
	class lnk_file rename;
	class lnk_file unlink;
}

# Let dogtag write to cert_t directories
allow pki_ca_t cert_t:dir write;
allow pki_ca_t cert_t:dir add_name;
allow pki_ca_t cert_t:dir remove_name;

# Let dogtag write cert_t files
allow pki_ca_t cert_t:file create;
allow pki_ca_t cert_t:file write;
allow pki_ca_t cert_t:file rename;

# Let dogtag manage cert_t symbolic links
allow pki_ca_t cert_t:lnk_file create;
allow pki_ca_t cert_t:lnk_file rename;
allow pki_ca_t cert_t:lnk_file unlink;

# Let apache read the CRLs
allow httpd_t pki_ca_var_lib_t:dir { search getattr };

# Let certmonger manage the dogtag certificate database for renewals
allow certmonger_t pki_ca_var_lib_t:dir { search getattr} ;
allow certmonger_t pki_ca_var_lib_t:file { read write getattr open };