From owner-freebsd-questions@freebsd.org Wed Mar 23 19:13:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1219ADBB38 for ; Wed, 23 Mar 2016 19:13:51 +0000 (UTC) (envelope-from cs@innolan.net) Received: from midnight.innolan.net (ntp1.innolan.net [90.184.222.114]) by mx1.freebsd.org (Postfix) with ESMTP id B612915EC for ; Wed, 23 Mar 2016 19:13:51 +0000 (UTC) (envelope-from cs@innolan.net) Received: from [192.168.10.75] (unknown [192.168.10.75]) by midnight.innolan.net (Postfix) with ESMTP id 35CDE202F5E; Wed, 23 Mar 2016 20:08:13 +0100 (CET) Subject: Re: openvpn issue 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> Cc: freebsd-questions@freebsd.org To: laszlo.danielisz@yahoo.com From: Carsten Message-ID: <56F2E99C.7060209@innolan.net> Date: Wed, 23 Mar 2016 20:08:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 19:13:52 -0000 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" 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" >