Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


openvpn_selinux

OpenVPN SELinux

Keys in /etc/openvpn/easy-rsa/keys

List contexts

semanage fcontext -l|grep cert

Set context

semanage fcontext -a -t home_cert_t "/etc/openvpn/easy-rsa/keys(/.*)?"
semanage fcontext -a -t openvpn_etc_t "/etc/openvpn/easy-rsa"
semanage fcontext -a -t openvpn_etc_t "/etc/openvpn/easy-rsa/keys"

restorecon -R -v /etc/openvpn/easy-rsa/keys
openvpn_selinux.txt · Last modified: 2014/06/10 13:20 by admin