diff --git a/bin/ovpn_copy_server_files b/bin/ovpn_copy_server_files index 49df414..b99f54c 100755 --- a/bin/ovpn_copy_server_files +++ b/bin/ovpn_copy_server_files @@ -32,6 +32,10 @@ FILES=( "ccd" ) +if [ -f "${OPENVPN}/pki/crl.pem" ]; then + FILES+=("pki/crl.pem") +fi + # Ensure the ccd directory exists, even if empty mkdir -p "ccd"