D
D
Denis Sechin2017-09-07 15:35:13
linux
Denis Sechin, 2017-09-07 15:35:13

openvpn ubuntu16 error?

I generated server keys as well as client keys, scattered everything in folders, now I need to generate one more keys for another client, it gives an error:


./build-key user2
pkitool: Need a readable ca.crt and ca.key in /etc/openvpn/easy-rsa/keys
Try pkitool --initca to build a root certificate/key.

Help! where to get these ca.crt and ca.key? threw up the old generated ones, they do not fit.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima Petrov, 2017-09-07
@tamogavk

Generate new ones.
source /usr/share/easy-rsa/2.0/keys/vars
/usr/share/easy-rsa/2.0/keys/./build-ca

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question