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

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

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

revision 3296 by davidg, Thu Jul 9 10:15:39 2020 UTC revision 3297 by davidg, Fri Jul 10 14:51:46 2020 UTC
# Line 34  makecsr=0 Line 34  makecsr=0
34  nameformat=friendly  nameformat=friendly
35  certfn=  certfn=
36  profile=""  profile=""
37    customer=surfnet
38    
39  # ############################################################################  # ############################################################################
40  # usage help and instructions  # usage help and instructions
# Line 48  Usage: tcsg4-install-servercert.sh [-d d Line 49  Usage: tcsg4-install-servercert.sh [-d d
49     -R            use EEC commonName and date as basis for filenames     -R            use EEC commonName and date as basis for filenames
50     -f            do not make backups of existing files     -f            do not make backups of existing files
51     -b bckprefix  prefix of the filename to use when making backups     -b bckprefix  prefix of the filename to use when making backups
52       -C customer   name of the Sectigo customer (default: surfnet)
53    
54     <PKCS7.p7b>   filename of the blob produced by Sectigo     <PKCS7.p7b>   filename of the blob produced by Sectigo
55                   or URL to the PKCS#7 blob from the success email                   or URL to the PKCS#7 blob from the success email
# Line 89  esac Line 91  esac
91  if [ $? -eq 0 ]; then  if [ $? -eq 0 ]; then
92    # this was a pure number, so an order ID    # this was a pure number, so an order ID
93    echo "Recognised order ID $pkfile, downloading"    echo "Recognised order ID $pkfile, downloading"
94    pkfile="https://cert-manager.com/customer/surfnet/ssl?action=download&sslId=${pkfile}&format=bin"    pkfile="https://cert-manager.com/customer/${customer}/ssl?action=download&sslId=${pkfile}&format=bin"
95  fi  fi
96    
97  case "$pkfile" in  case "$pkfile" in

Legend:
Removed from v.3296  
changed lines
  Added in v.3297

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