We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58daa3 commit 86469e0Copy full SHA for 86469e0
bin/v-update-letsencrypt-ssl
@@ -32,6 +32,18 @@ for user in $users; do
32
lecounter=0
33
for domain in $(search_objects 'web' 'LETSENCRYPT' 'yes' 'DOMAIN'); do
34
35
+ # Check if Web Domain is suspended
36
+ websuspended=$(grep "DOMAIN='$domain'" $USER_DATA/web.conf |grep "SUSPENDED='no")
37
+ if [ ! -z "$websuspended" ]; then
38
+ continue;
39
+ fi;
40
+
41
+ # Check if DNS is suspended
42
+ dnssuspended=$(grep "DOMAIN='$domain'" $USER_DATA/dns.conf |grep "SUSPENDED='no")
43
+ if [ ! -z "$dnssuspended" ]; then
44
45
46
47
crt="$HESTIA/data/users/$user/ssl/$domain.crt"
48
crt_data=$(openssl x509 -text -in "$crt")
49
expire=$(echo "$crt_data" |grep "Not After")
0 commit comments