Skip to content

Commit

Permalink
Merge pull request #246 from zzzzzhy/patch-1
Browse files Browse the repository at this point in the history
安装软件依赖
  • Loading branch information
kuaifan authored Jan 16, 2025
2 parents cb106e4 + b51052f commit 0ecc204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/https
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0ecc204

Please sign in to comment.