Skip to content

Commit 054e865

Browse files
committed
Update let's encrypt ssl path for mail ssl.
1 parent 9c79a28 commit 054e865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-letsencrypt-ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ for user in $($BIN/v-list-users plain |cut -f 1); do
5454
done
5555

5656
for domain in $(search_objects 'mail' 'LETSENCRYPT' 'yes' 'DOMAIN'); do
57-
crt_data=$(openssl x509 -text -in $USER_DATA/ssl/$domain.crt)
57+
crt_data=$(openssl x509 -text -in $USER_DATA/ssl/mail.$domain.crt)
5858
not_after=$(echo "$crt_data" |grep "Not After" |cut -f 2,3,4 -d :)
5959
expiration=$(date -d "$not_after" +%s)
6060
now=$(date +%s)

0 commit comments

Comments
 (0)