Ver código fonte

Updated generateCertificates.sh shell script to make sure the necessary folders ‚certs‘, ‚csrs‘, ‚keystores‘, and ‚privateKeys‘ exist or are created if they don’t exist before executing the rest of the script

Marc Mültin 8 anos atrás
pai
commit
bb40200deb
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      RISE-V2G-Certificates/generateCertificates.sh

+ 5 - 0
RISE-V2G-Certificates/generateCertificates.sh

@@ -19,6 +19,11 @@
 #
 # Author: Marc Mültin (marc.mueltin@chargepartner.com) 
 
+# 0) Create directories if not yet existing
+mkdir -p certs
+mkdir -p csrs
+mkdir -p keystores
+mkdir -p privateKeys
 
 # 1) Create a self-signed V2GRootCA certificate
 # 1.1) Create a