Gentoo Archives: gentoo-user

From: thelma@×××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openVPN
Date: Tue, 07 Feb 2017 06:14:52
Message-Id: 589965CF.3000103@sys-concept.com
In Reply to: Re: [gentoo-user] openVPN by thelma@sys-concept.com
1 On 02/06/2017 10:37 PM, thelma@×××××××××××.com wrote:
2 [snip]
3 > but I'm getting an error below:
4 >
5 > ./easyrsa build-client-full syscon_home nopass
6 > NOTE: If you run ./clean-all, I will be doing a rm -rf on /usr/share/easy-rsa/keys
7 >
8 > Note: using Easy-RSA configuration from: ./vars
9 >
10 > Easy-RSA error:
11 >
12 > Missing expected CA file: serial (perhaps you need to run build-ca?)
13 > Run without commands for usage and command help.
14
15 I think in order to build it I need to run:
16
17 ./easyrsa build-ca nopass
18 ./easyrsa gen-req clinic_8amd nopass
19 ./easyrsa sign-req server clinic_8amd nopass
20 ./easyrsa gen-dh
21 ./easyrsa build-client-full home1 nopass
22
23 But I'm stuck now with:
24 openvpn --genkey --secret /root/easy-rsa-example/pki/ta.key
25
26 Mon Feb 6 23:13:20 2017 Cannot open shared secret file '/root/easy-rsa-example/pki/ta.key' for write: No such file or directory (errno=2)
27 Mon Feb 6 23:13:20 2017 Exiting due to fatal error
28
29 There is no such file "ta.key"
30
31 --
32 Thelma

Replies

Subject Author
Re: [gentoo-user] openVPN Mick <michaelkintzios@×××××.com>