/[pdpsoft]/nl.nikhef.pdp.tcs/nl.nikhef.pdp.tcs.tcsg4-tools/trunk/tcsg4-request.sh
ViewVC logotype

Diff of /nl.nikhef.pdp.tcs/nl.nikhef.pdp.tcs.tcsg4-tools/trunk/tcsg4-request.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3287 by davidg, Tue Jun 9 14:53:27 2020 UTC revision 3288 by davidg, Tue Jun 9 14:57:45 2020 UTC
# Line 51  case "$#" in Line 51  case "$#" in
51  * ) break ;;  * ) break ;;
52  esac  esac
53    
54  hn=`echo $1 | sed -e 's/[,\ ]//g'`  hn=`echo $1 | sed -e 's/[,\ ]//g;s/DNS://;'`
55  domain=$hn  domain=$hn
56    
57  case "$domain" in  case "$domain" in
# Line 74  while [ x"$1" != x"" ] ; do Line 74  while [ x"$1" != x"" ] ; do
74    if [ x"$alt" != x"" ]; then    if [ x"$alt" != x"" ]; then
75      alt="$alt,"      alt="$alt,"
76    fi    fi
77    hn=`echo $1 | sed -e 's/[,\ ]//g'`    hn=`echo $1 | sed -e 's/[,\ ]//g;s/DNS://;'`
78    alt="${alt}DNS:$hn"    alt="${alt}DNS:$hn"
79    shift    shift
80  done  done
# Line 87  alt=`echo $alt | sed -e 's/WILDCARD/\*/g Line 87  alt=`echo $alt | sed -e 's/WILDCARD/\*/g
87  echo "----------------------------------------------------------------------"  echo "----------------------------------------------------------------------"
88  echo "Requesting certificate for $domain in $destdir"  echo "Requesting certificate for $domain in $destdir"
89  echo " SAN dNSNames: $alt"  echo " SAN dNSNames: $alt"
90    exit 0
91  fn=`mktemp /tmp/request.cnf.XXXXXX`  fn=`mktemp /tmp/request.cnf.XXXXXX`
92    
93  cat <<EOF > $fn  cat <<EOF > $fn

Legend:
Removed from v.3287  
changed lines
  Added in v.3288

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28