Open NanoPish opened 3 years ago
Works after going to /etc/openvpn/easy-rsa/
And copying ta.key and ca.crt from ../server/ to .
And adding the ./pki prefix in the easy-rsa script create_client.sh
, giving:
cp pki/issued/$1.crt pki/private/$1.key ca.crt ta.key /etc/openvpn/client/$1/
Thanks @NanoPish for the report. I'll work on a fix. May ask for some more details, but glancing over this issue, I think everything has been described.
Describe the bug
On debian 10
cd /etc/openvpn/easy-rsa bash /etc/openvpn/easy-rsa/create_client.sh
The script fails to generate the conf because
1) the files it looks for are in ./pki/private/ and ./pki/issued/ not in ./private and ./issued
2) the ta.key ca.crt and ta.key are not in . but in ../server/
3) requires zip
Am I starting the easy-rsa script from the wrong location ?
Playbook
Please paste the playbook you are using. (Consider
requirements.yml
and optionally the command you've invoked.)Output
Environment
cat /etc/os-release
)ansible --version
)cat /etc/os-release
)Please consider sponsoring me.