Adding a new client key without having to ./cliean-all

Support forum for Easy-RSA certificate management suite.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
orudie
OpenVpn Newbie
Posts: 3
Joined: Tue Apr 12, 2011 11:36 pm

Adding a new client key without having to ./cliean-all

Post by orudie » Tue May 31, 2011 4:14 pm

Greetings.

I have a functioning openvpn with about 5 or 6 active clients.

Now I need to add a new client. I am trying to do so by

./build-key clientname and here is what I get:

Code: Select all

./build-key clientname
  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.
I really do not want to do ./clean-all.

I am stuck, please help.

orudie
OpenVpn Newbie
Posts: 3
Joined: Tue Apr 12, 2011 11:36 pm

Re: Adding a new client key without having to ./cliean-all

Post by orudie » Tue May 31, 2011 5:01 pm

Found solution.

Code: Select all

chmod +x vars
./vars
source ./vars
./build-key clientname

User avatar
GbMax78
OpenVPN User
Posts: 20
Joined: Sun Aug 14, 2011 6:21 am
Location: Italy
Contact:

Re: Adding a new client key without having to ./cliean-all

Post by GbMax78 » Tue Apr 11, 2017 7:17 pm

I did:

Code: Select all

root@Server01:/etc/openvpn/easy-rsa# chmod +x vars 
root@Server01:/etc/openvpn/easy-rsa# ./vars 
./vars: riga 29: /etc/openvpn/easy-rsa/openssl-1.0.0.cnf: Permesso negato
NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/keys
"Permesso negato" means something like you don't have access to the file.

Post Reply