ovpn-admin icon indicating copy to clipboard operation
ovpn-admin copied to clipboard

ovpn-admin & easyrsa 3.1.0 => "easyrsa build-client-full" waits for user input

Open mbalikov opened this issue 2 years ago • 1 comments

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!!

mbalikov avatar Sep 28 '23 13:09 mbalikov

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

menestrel333 avatar Oct 01 '24 15:10 menestrel333

@mbalikov thanks a lot for raising this issue!

shurup avatar Mar 28 '25 13:03 shurup