Having Fedora 20 64-bit installed, I have this old problem of conflicting OpenVPN and SELinux. Obviously SELinux prevents
openvpn from launching.
The OpenVPN has been set through Network Connection and I have three files:
- user certificate as:
- CA certificate as:
- Private key as:
Some solutions say that I should move certificate files in to
~/.cert and then run:
$ sudo restorecon -R -v ~/.cert
And then SELinux will allow the access to the certificates.
BUT, before I launch
openvpn, I had saved these certificates in Documents/certificates folder. Of course when I execute:
$ mv ~/Documents/certificates/cer.pem ~/.cert
The file will be moved to
~/.cert and in Network Connections there would be no certificates.
I've tried to use
cp instead of
mv but that did not help and still I have this old problem of conflict.