        givennames="$(echo "${domain}" "${morenames}"| tr ' ' '\n' | sort -u | tr '\n' ' ' | _sed 's/ $//' | _sed 's/^ //')"
  
        if [[ "${certnames}" = "${givennames}" ]]; then
-@@ -587,10 +594,10 @@
+@@ -598,10 +605,10 @@
  
      if [[ -e "${cert}" ]]; then
        echo " + Checking expire date of existing cert..."

--- a/letsencrypt.sh
+++ b/letsencrypt.sh
@@ -23,10 +23,17 @@
 
 BASEDIR="${SCRIPTDIR}"
 

 }
 
 # Convert hex string to binary data
@@ -223,7 +230,7 @@
 # display the output if the exit code was != 0 to simplify debugging.
 _openssl() {
   set +e
