README.error: add workarround for error 'build-client-full' does not support setting an external commonName.

This commit is contained in:
Christoph 2024-05-28 01:01:29 +02:00
parent f3a4dea46b
commit d567f5583b

View File

@ -1,3 +1,17 @@
# ---
# Error: Option conflict: 'build-client-full' does not support setting an external commonName
# ---
# workarround:
#
# see: https://github.com/OpenVPN/easy-rsa/issues/717
#
# EASYRSA_REQ_CN should probably be removed from vars.example.
fqp_path_to_vars="/etc/openvpn/server/gw-ckubu/easy-rsa/vars"
perl -i -n -p -e "s/^\s*(set_var\s+EASYRSA_REQ_CN.*)/#####\1/g" ${fqp_path_to_vars}
# ---
# Error: AEAD Decrypt error: bad packet ID
# ---