OpenVPN documentation

Bug #1215015 reported by JJ Asghar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
New
Undecided
Unassigned

Bug Description

It seems that you say:
mkdir /etc/openvpn/easy-rsa/
cp -r /usr/share/doc/openvpn/examples/easy-rsa/2.0/* /etc/openvpn/easy-rsa/
then
cd /etc/openvpn/easy-rsa/
source vars
./clean-all
./build-ca

I recieve this error:
root@ip-10-10-219-96:/etc/openvpn/easy-rsa# source vars
**************************************************************
  No /etc/openvpn/easy-rsa/openssl.cnf file could be found
  Further invocations will fail
**************************************************************
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys

~~~~~~
but as you can see:
root@ip-10-10-219-96:/etc/openvpn/easy-rsa# ls
build-ca build-key-pass build-req-pass list-crl openssl-1.0.0.cnf revoke-full whichopensslcnf
build-dh build-key-pkcs12 clean-all Makefile openssl-1.0.0.cnf-old-copy sign-req
build-inter build-key-server inherit-inter openssl-0.9.6.cnf pkitool tmp
build-key build-req keys openssl-0.9.8.cnf README.gz vars

There is no openssl.cnf and the source vars fail.

You need to do something like:
cd /etc/openvpn/easy-rsa/
cp openssl-<version> openssl.cnf
source vars
./clean-all
./build-ca

Tags: wiki
JJ Asghar (d-jj)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.