openvpn issue

Carsten cs at innolan.net
Wed Mar 23 19:13:52 UTC 2016


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 at 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 at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list