Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2016 20:08:12 +0100
From:      Carsten <cs@innolan.net>
To:        laszlo.danielisz@yahoo.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: openvpn issue
Message-ID:  <56F2E99C.7060209@innolan.net>
In-Reply-To: <CAOyJeZRWHZ-T08X2NJ8=kRWi=o5qmOyuvNPUh6j-xLZHZFWaCQ@mail.gmail.com>
References:  <2093743171.3529179.1458691646834.JavaMail.yahoo.ref@mail.yahoo.com> <2093743171.3529179.1458691646834.JavaMail.yahoo@mail.yahoo.com> <1458709592.1578.10.camel@au.dyndns.ws> <CAOyJeZRWHZ-T08X2NJ8=kRWi=o5qmOyuvNPUh6j-xLZHZFWaCQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Use bash. Then the whole easy-rsa package works correctly.



On 03/23/2016 09:14 AM, Shamim Shahriar wrote:
> Also not sure you have done this, but after you have edited vars, before
> running build-ca in your sh shell you need to do a . .vars (that is dot
> space dot vars), then run build-ca.
>
> Hope this helps
> On 23 Mar 2016 5:14 am, "Wayne Sierke" <ws@au.dyndns.ws> wrote:
>
>> On Wed, 2016-03-23 at 00:07 +0000, laszlo.danielisz--- via freebsd-
>> questions wrote:
>>> Hi all,
>>> I am trying to install openvpn to a FreeBSD server
>>> following this tutorial.I've edited vars, I am using sh, and all the
>>> time I try to run ./buil-ca I'm getting the following errHior:
>>> # pwd
>>> /usr/local/etc/openvpn/easy-rsa
>>> # uname -a
>>> FreeBSD do 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7
>>> # . vars
>>> NOTE: If you run ./clean-all, I will be doing a rm -rf on
>>> /usr/local/etc/openvpn/easy-rsa/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?
>>> Thanks!Laszlo
>>
>> Hi Laszlo,
>>
>> Does the 'keys' dir exist, at /usr/local/etc/openvpn/easy-rsa/keys ?
>>
>> The main easy-rsa script (pkitool) tests for the existence of that
>> directory, although - somewhat confusingly - not before it issues that
>> other warning message!
>>
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56F2E99C.7060209>