demonLaMagra
Cadet
- Joined
- Dec 21, 2013
- Messages
- 2
Hey guys, im following this guide to install OpenVPN http://joepaetzel.wordpress.com/2013/09/22/openvpn-on-freenas-9-1/
I have ran in to the issues detailed below when trying to create the CA.cert.
Any ideas?
cheers
UPDATE:
when i try to source ./vars i get the follwing output.
I have ran in to the issues detailed below when trying to create the CA.cert.
[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.
Any ideas?
cheers
UPDATE:
when i try to source ./vars i get the follwing output.
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.