Merge pull request #246 from zzzzzhy/patch-1

安装软件依赖
This commit is contained in:
kuaifan 2025-01-16 22:35:38 +08:00 committed by GitHub
commit 0ecc20472a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)