Skip to content

Commit 2de6bd8

Browse files
authored
Merge pull request hestiacp#2076 from jaapmarcus/fix/2073-multiple-caa
Limit search to only letsencrypt in CAA records
2 parents 930e52b + ed9165f commit 2de6bd8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
1212

1313
- Improve handling upgrade of Roundcube #1917
1414
- Fix an issue with sorting the update scripts when version goes higher then 1.x.10
15+
- Allow the use of multiple CAA records for domain. #2073
1516

1617
## [1.4.10] - Service release
1718

bin/v-add-letsencrypt-domain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fi
7878
# Set DNS CAA record retrieval commands
7979
if [ ! -z "$DNS_SYSTEM" ]; then
8080
dns_domain=$($BIN/v-list-dns-domains $user | grep $domain | cut -d' ' -f1)
81-
caa_record=$($BIN/v-list-dns-records $user $domain | grep -i "CAA" | cut -d' ' -f1)
81+
caa_record=$($BIN/v-list-dns-records $user $domain | grep -i "CAA" | grep -i "letsencrypt.org" | cut -d' ' -f1 )
8282
fi
8383

8484
if [ -z "$mail" ] || [ "$mail" = 'no' ]; then

0 commit comments

Comments
 (0)