Skip to content

Commit 3da98f9

Browse files
bradarmBrad Armstrong
and
Brad Armstrong
authored
updates entrypoint.sh to update the CA trust if needed (#13)
Co-authored-by: Brad Armstrong <[email protected]>
1 parent 4c5b53c commit 3da98f9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/entrypoint.sh

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ terminate_processes() {
2424
exit 0
2525
}
2626

27+
#Trigger a ca cert regen if we have the spacefx ca certificate available
28+
if [[ -f "/etc/pki/ca-trust/source/anchors/ca.spacefx.local.pem" ]]; then
29+
update-ca-trust
30+
fi
31+
2732
# Trap SIGTERM and SIGINT signals and call the termination function
2833
trap terminate_processes SIGTERM SIGINT
2934

0 commit comments

Comments
 (0)