Compare commits
5 Commits
88d49fd70c
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 22c67eeaa5 | |||
| 361631fd1e | |||
| 4c74e65133 | |||
| b9ffc32ee7 | |||
|
|
5ef6a0a740 |
@@ -306,11 +306,11 @@ if $EASYRSA_LAYOUT_NEW ; then
|
||||
_cn="$(openssl x509 -noout -text -in $_cert | grep Subject: | grep -oE "CN\s*=\s*[^,]+" | awk '{print$3}')"
|
||||
fi
|
||||
|
||||
if ! containsElement "$_cn" "${all_cn_arr[@]}" ; then
|
||||
if ! containsElement "$_serial" "${all_cn_arr[@]}" ; then
|
||||
all_arr+=("${_serial}:$(trim $_cn)")
|
||||
all_cn_arr+=("$(trim $_cn)")
|
||||
fi
|
||||
if ! containsElement "$_cn" "${revoked_cn_arr[@]}" ; then
|
||||
if ! containsElement "$_serial" "${revoked_cn_arr[@]}" ; then
|
||||
active_arr+=("${_serial}:$(trim $_cn)")
|
||||
fi
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
script_dir="$(dirname $(realpath $0))"
|
||||
conf_file=${script_dir}/conf/install_openvpn.conf
|
||||
|
||||
_needed_debian_packages="openvpn easy-rsa"
|
||||
_needed_debian_packages="openvpn easy-rsa zip"
|
||||
|
||||
# - Used if system does NOT support systemd
|
||||
# -
|
||||
|
||||
Reference in New Issue
Block a user