Ver Fonte

Limit search to only letsencrypt in CAA records

Closes #2073
Jaap Marcus há 4 anos atrás
pai
commit
ed9165f7ae
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 0
      CHANGELOG.md
  2. 1 1
      bin/v-add-letsencrypt-domain

+ 1 - 0
CHANGELOG.md

@@ -12,6 +12,7 @@ All notable changes to this project will be documented in this file.
 
 - Improve handling upgrade of Roundcube #1917
 - Fix an issue with sorting the update scripts when version goes higher then 1.x.10 
+- Allow the use of multiple CAA records for domain. #2073
 
 ## [1.4.10] - Service release 
 

+ 1 - 1
bin/v-add-letsencrypt-domain

@@ -78,7 +78,7 @@ fi
 # Set DNS CAA record retrieval commands
 if [ ! -z "$DNS_SYSTEM" ]; then
     dns_domain=$($BIN/v-list-dns-domains $user | grep $domain | cut -d' ' -f1)
-    caa_record=$($BIN/v-list-dns-records $user $domain | grep -i "CAA" | cut -d' ' -f1)
+    caa_record=$($BIN/v-list-dns-records $user $domain | grep -i "CAA" | grep -i "letsencrypt.org" | cut -d' ' -f1 )    
 fi
 
 if [ -z "$mail" ] || [ "$mail" = 'no' ]; then