cert-enroll: Set the environment variables needed by cert-install-ssl

This commit is contained in:
Andreas Steffen 2023-11-23 19:05:22 +01:00
parent 11dbc8e7f2
commit da45cf9f38

View File

@ -192,6 +192,7 @@ function install_certs()
KEYTYPE="$KEYTYPE" CERTDIR="$CERTDIR" HOSTKEY="$HOSTKEY" \ KEYTYPE="$KEYTYPE" CERTDIR="$CERTDIR" HOSTKEY="$HOSTKEY" \
HOSTCERT="$HOSTCERT" ROOTCA="$ROOTCA" SUBCA="$SUBCA" \ HOSTCERT="$HOSTCERT" ROOTCA="$ROOTCA" SUBCA="$SUBCA" \
OLDROOTCA="$OLDROOTCA" OLDSUBCA="$OLDSUBCA" \ OLDROOTCA="$OLDROOTCA" OLDSUBCA="$OLDSUBCA" \
USER_GROUP="$USER_GROUP" SERVICE="$SERVICE" \
/bin/bash $script || status=$? /bin/bash $script || status=$?
if [ $status -ne 0 ] if [ $status -ne 0 ]
then then