Hey guys, im I'm following this guide to install OpenVPN on my FreeNAS server http://joepaetzel.wordpress.com/2013/09 ... eenas-9-1/
I have run into the issues detailed below when trying to create the CA.cert.
I have tried creating the keys directory manually asi've I've seen this has worked for some but still get the same output.
Any ideas will be appreciated.
cheers
Dan
UPDATE:
when trying to source ./vars i get the following.
I have run into the issues detailed below when trying to create the CA.cert.
Code:
[root@freenas] /mnt/NAS/openvpn# chmod -R 755 easy-rsa/2.0/*
[root@freenas] /mnt/NAS/openvpn# cd easy-rsa/2.0
[root@freenas] /mnt/NAS/openvpn/easy-rsa/2.0# sh
# ./clean-all
Please source the vars script first (i.e. "source ./vars")
Make sure you have edited it to reflect your configuration.
# . ./vars
NOTE: If you run ./clean-all, I will be doing a rm -rf on /mnt/NAS/openvpn/easy-rsa/2.0/keys
# ./build-ca
Please edit the vars script to reflect your configuration,
then source it with "source ./vars".
Next, to start with a fresh PKI configuration and to delete any
previous certificates and keys, run "./clean-all".
Finally, you can run this tool (pkitool) to build certificates/keys.
I have tried creating the keys directory manually as
Any ideas will be appreciated.
cheers
Dan
UPDATE:
when trying to source ./vars i get the following.
Code:
[root@freenas] /mnt/NAS/openvpn/easy-rsa/2.0# source ./vars
export: Command not found.
export: Command not found.
export: Command not found.
export: Command not found.
EASY_RSA: Undefined variable.
export: Command not found.
EASY_RSA: Undefined variable.