automate the creation of certificates
Posted: Wed Aug 24, 2016 6:43 pm
I need to automate the creation of certificates.
Currently I'm trying this way:
but it resulted in failure:
failed to update database
TXT_DB error number 2
I got to test this way:
but as it does not recognize the "Y"
I would like your help
Currently I'm trying this way:
Code: Select all
cd /etc/openvpn/easy-rsa/
source ./vars
./build-key --batch client
failed to update database
TXT_DB error number 2
I got to test this way:
Code: Select all
echo -en "\ n \ n \ n \ n \ n \ n \ n \ ny \ ny \ n" | client1 ./build-key
I would like your help