cert-enroll: Set the environment variables needed by cert-install-ssl
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user