Docker-openvpn: Can't create new user cert

Created on 27 Apr 2018  路  3Comments  路  Source: kylemanna/docker-openvpn

Hello!

root@gritsenko ~ # docker run -v $OVPN_DATA:/etc/openvpn --rm -it kylemanna/openvpn easyrsa build-client-full kutakov nopass

Easy-RSA error:

EASYRSA_PKI does not exist (perhaps you need to run init-pki)?
Expected to find the EASYRSA_PKI at: /etc/openvpn/pki
Run easyrsa without commands for usage and command help.

Most helpful comment

@degritsenko
How did you solve that?

All 3 comments

my bad

@degritsenko
How did you solve that?

I got this same error, It was because I was following
https://hub.docker.com/r/kylemanna/openvpn/
Guide, and did not run
docker run -v $OVPN_DATA:/etc/openvpn --log-driver=none --rm -it kylemanna/openvpn ovpn_initpki

The "My Bad" from degritsenko was probably because of a missed command.
I am posting this because - It may help anyone else who falls into this trap !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

comphilip picture comphilip  路  3Comments

Svarto picture Svarto  路  7Comments

lucaszanella picture lucaszanella  路  7Comments

rottmann picture rottmann  路  8Comments

wilbertliu picture wilbertliu  路  5Comments