mirror of https://github.com/samply/bridgehead.git
Rely on beam-enroll message for exsisting key
This commit is contained in:
parent
11c3103968
commit
64169acca2
|
@ -97,10 +97,6 @@ case "$ACTION" in
|
||||||
;;
|
;;
|
||||||
enroll)
|
enroll)
|
||||||
loadVars
|
loadVars
|
||||||
if [ -e $PRIVATEKEYFILENAME ]; then
|
|
||||||
log ERROR "Private key already exists at $PRIVATEKEYFILENAME. Please delete first to proceed."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
docker run --rm -ti -v /etc/bridgehead/pki:/etc/bridgehead/pki samply/beam-enroll:latest --output-file $PRIVATEKEYFILENAME --proxy-id $PROXY_ID --admin-email $SUPPORT_EMAIL
|
docker run --rm -ti -v /etc/bridgehead/pki:/etc/bridgehead/pki samply/beam-enroll:latest --output-file $PRIVATEKEYFILENAME --proxy-id $PROXY_ID --admin-email $SUPPORT_EMAIL
|
||||||
chmod 600 $PRIVATEKEYFILENAME
|
chmod 600 $PRIVATEKEYFILENAME
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue