mirror of
https://github.com/samply/bridgehead.git
synced 2025-07-06 11:20:20 +02:00
Support PKI enrollment
This commit is contained in:
@ -77,6 +77,13 @@ case "$ACTION" in
|
|||||||
uninstall)
|
uninstall)
|
||||||
exec ./lib/remove-bridgehead-units.sh $PROJECT
|
exec ./lib/remove-bridgehead-units.sh $PROJECT
|
||||||
;;
|
;;
|
||||||
|
enroll)
|
||||||
|
if [ -e /etc/pki/${SITE_ID}.pem ]; then
|
||||||
|
echo "Private key already exists at /etc/pki/${SITE_ID}.pem. Please delete first to proceed."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
docker run --rm -ti -v /etc/bridgehead/pki:/pki samply/beam-enroll:latest --admin-email $OPERATOR_EMAIL --output-
|
||||||
|
path /pki --proxy-id $PROXY_ID
|
||||||
preRun | preUpdate)
|
preRun | preUpdate)
|
||||||
fixPermissions
|
fixPermissions
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user