From 55f095c74332b762772739835af497363f04d1a7 Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 5 Feb 2015 00:19:54 +0100 Subject: [PATCH] fix dns-altnames breakage --- certgen.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/certgen.sh b/certgen.sh index f51c06a..ed4d81e 100755 --- a/certgen.sh +++ b/certgen.sh @@ -32,6 +32,9 @@ while read cdline ; do cat openssl.cnf > /tmp/certgen.cnf COUNTER=0 for name in $DNS_NAMES; do + if [[ "" == $name ]] ; then + continue + fi COUNTER=$((COUNTER+1)) echo "DNS.${COUNTER} = $name" >> /tmp/certgen.cnf done -- 2.43.0