安装软件依赖

This commit is contained in:
zzzzzhy
2025-01-16 20:14:08 +08:00
committed by GitHub
parent cb106e42ee
commit b51052f0c6

View File

@@ -191,6 +191,7 @@ upgrade_cert(){
}
check_expire(){
apk add --no-cache openssl socat
find ${SSL_PATH} -type f -name "*.key" | while read -r file; do
CERT_PATH=$file
expiry_date=$(openssl x509 -enddate -noout -in "$CERT_PATH" | cut -d= -f2)