From owner-freebsd-questions@freebsd.org Wed Mar 23 08:14:13 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 C1519ADA53C for ; Wed, 23 Mar 2016 08:14:13 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 71E851CB6 for ; Wed, 23 Mar 2016 08:14:13 +0000 (UTC) (envelope-from shamim.shahriar@gmail.com) Received: by mail-lb0-x22a.google.com with SMTP id bc4so4796435lbc.2 for ; Wed, 23 Mar 2016 01:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=n5ZLGaa2ElveG8+DwWkE2EPDAc3jmcrKy81GtsrqptU=; b=cPFc+TcWB6dkO2h34QzcvA7SumWjKvhPsAliKI7JxuR+a+hmhrKk1L0KrvW5+hKeEt vkL3W0Bn188ScZpfvuOMH9UB/eLqJRmOWYc9bK0n+nJhr7VWMdAHLLgWiYGlY7UGH1V5 Y6Tet+FFXsKPtxlF64zBjshrKN5sEMBCAHwKdnOUIPPUXmjKRZtsEAvddqhakBbOfG18 KKY7bE72deEap17cYLhlqrObf5LPA8qkUDCw6cYD4OviMmdVXwpr4h8Tb3uMbdpcBqz/ MthvHMALw6jaxKMB+jXbLQd14/09/InwxE43JVwiewv8WBoTCTV0kAYFqY5eIO0+JWjN 4wnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=n5ZLGaa2ElveG8+DwWkE2EPDAc3jmcrKy81GtsrqptU=; b=fTQYv2QkLwHlGkeJz5BRM+mBr85IQ3rOojcZteKaqH6R12KlHnkjqwJD92S/W78fzi dIgoV9GzlElN2+W9dLjkzKpTmaQbhTcjO0cI8i5DYN7GoBhRix7Hfa3343OjwgfpVZJb xDUIsUqSAwoyGRLuuOyLEpVEt7Dhfa1xaz1nWe9GwEWbHw7u4XH0VqjGK10NhhY+gjuY vhw1EvwOhF/9XvXy8wJi7LGeE375Iv2aQ7pvi4aP6Chg3h+ePAQk2DgsogY4Alji0wt8 1APzonPf+0t5uwml2JDuBKk+TrrTdytEZ8A4L/Zq1L/0XePf2S/JnggS2W0CAe7/exQ/ lJEw== X-Gm-Message-State: AD7BkJLZoU815uklyaVs0RYJMAfOJ/gWvPi5GYdhzVEi0cDKLk2f87UIoepuxnb8dNtyph5/gqJTBtiTPuFcTw== MIME-Version: 1.0 X-Received: by 10.112.202.104 with SMTP id kh8mr645278lbc.8.1458720851384; Wed, 23 Mar 2016 01:14:11 -0700 (PDT) Received: by 10.25.40.134 with HTTP; Wed, 23 Mar 2016 01:14:11 -0700 (PDT) Received: by 10.25.40.134 with HTTP; Wed, 23 Mar 2016 01:14:11 -0700 (PDT) In-Reply-To: <1458709592.1578.10.camel@au.dyndns.ws> 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> Date: Wed, 23 Mar 2016 08:14:11 +0000 Message-ID: Subject: Re: openvpn issue From: Shamim Shahriar To: Wayne Sierke Cc: freebsd-questions@freebsd.org, laszlo.danielisz@yahoo.com Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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 08:14:13 -0000 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"