ovpn-admin
ovpn-admin copied to clipboard
ovpn-admin & easyrsa 3.1.0 => "easyrsa build-client-full" waits for user input
Hi,
After upgrading my server to Debian12 my ovpn-admin daemon stopped creating new users. Debug shows that easyrsa failed to certify the new certificate.
The quick fix was to add: set_var EASYRSA_BATCH "yes"
into /etc/openvpn/easyrsa/pki/vars
Most probably you could find a better solution like calling easyrsa with "--batch" option
===== Thank you for the great tool!!
I solved it by add the shell script named "easyrsa", and renaming easyrsa bin file to easyrsa2
#!/bin/bash ./easyrsa2 --batch $1 $2 $3 1>/dev/null
@mbalikov thanks a lot for raising this issue!