From a750b71e059aadd6a79b8fcb4ce3a88962f67e8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dubois?= Date: Fri, 2 Dec 2022 16:15:18 +0100 Subject: [PATCH] Fix path variables in cert-expirations.sh --- cert-expirations.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cert-expirations.sh b/cert-expirations.sh index 87c6303..c207001 100644 --- a/cert-expirations.sh +++ b/cert-expirations.sh @@ -89,8 +89,8 @@ check_certs_expiration() { main() { SYSTEM=$(uname | tr '[:upper:]' '[:lower:]') - cacert_path="/etc/openvpn/ssl/ca/cacert.pem" - index_path="/etc/openvpn/ssl/ca/index.txt" + cacert_path="/etc/shellpki/cacert.pem" + index_path="/etc/shellpki/index.txt" somedays="3456000" # 40 days currently expired_certs="" expiring_soon_certs=""