Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -Uvh epel-release-6-8.noarch.rpm

I did yum install openvpn in the guide then did the following:

mkdir -p /etc/openvpn/easy-rsa/keys
cp -rf /usr/share/openvpn/easy-rsa/2.0/* /etc/openvpn/easy-rsa

Fails. I get:

ls -la /usr/share/openvpn/
total 8
drwxr-xr-x  2 root root 4096 Jul 31 21:19 .
drwxr-xr-x 64 root root 4096 Sep 20 20:26 ..

Where do I find the easy-rsa keys? I'm told in the guide I need to edit /etc/openvpn/easy-rsa/vars but I can't find the vars. What I did find was:

ls /usr/share/doc/openvpn-*/sample/sample-keys
ca.crt  ca.key  client.crt  client.key  dh1024.pem  pass.crt  pass.key  pkcs12.p12  README  server.crt  server.key
share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.