LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-08-2014, 07:52 AM   #1
hnml
LQ Newbie
 
Registered: Nov 2014
Posts: 1

Rep: Reputation: Disabled
selinux in fedora conflict with ovpn


Having fedora 20 64bit installed, I have this old problem of conflicting openvpn and selinux. Obviously selinux prevents openvpn to launch.

The openvpn has been set through Network Connection and I have three files:

user certificate as: cer.pem
CA certificate as: ca.pem
Private key as: key.pem

some solutions say that I should move certificate files in to ~/.cert and then launch

Quote:
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. Ofcourse when I execute

Quote:
mv ~/Documents/certificates/cer.pem ~/.cert
The file will be moved to ~/.cert and in Network Connections there would be no certificates.

I have tried to used cp instead of mv but that did not help and still I have this old problem of conflict.

Would someone please help me solve this problem?
 
Old 11-10-2014, 07:10 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 979
Blog Entries: 2

Rep: Reputation: 235Reputation: 235Reputation: 235
What do you get from audit2allow ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where is the SElinux Management in fedora 16 nkw Linux - Desktop 3 02-05-2012 09:59 PM
Fedora 12 NXServer and SELinux ericcarlson Fedora 2 12-07-2009 08:30 AM
SELinux Error :( Fedora 10 - help manuleka Linux - Newbie 6 06-02-2009 08:09 PM
Problem with SELinux on Fedora 9 nbcohen Linux - Software 3 09-21-2008 05:49 PM
fc3:yum won't update - selinux conflict logo Linux - Software 2 09-18-2005 04:14 PM


All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration