Keeps prompting for `source vars'

Support forum for Easy-RSA certificate management suite.
Post Reply
c17
OpenVpn Newbie
Posts: 3
Joined: Thu Mar 17, 2016 8:44 am

Keeps prompting for `source vars'

Post by c17 » Thu Mar 17, 2016 8:52 am

Hello,

I'm trying to generate keys using easy-rsa scripts, after sourcing a vars file, I'm still getting a message
Please edit the vars script to reflect your configuration,
then source it with "source ./vars"
when running `sudo ./build-ca' and I can't proceed further.

How can I troubleshoot this issue?

c17
OpenVpn Newbie
Posts: 3
Joined: Thu Mar 17, 2016 8:44 am

Re: Keeps prompting for `source vars'

Post by c17 » Thu Mar 17, 2016 1:07 pm

The issue was, that I sourced vars file under regular user and variables were unvisible for root.
Sorry about that :lol:

User avatar
Traffic
OpenVPN Protagonist
Posts: 4081
Joined: Sat Aug 09, 2014 11:24 am

Re: Keeps prompting for `source vars'

Post by Traffic » Thu Mar 17, 2016 1:43 pm

Thanks for letting us know your solution 8-)

FYI: You do not need to run easyrsa as root ..

Post Reply