From 4964589caab523c4967dbc7fddac63e8b4c53bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20L=C3=B8vdal?= Date: Wed, 14 Oct 2026 00:23:13 +0200 Subject: [PATCH] Allow custom certificate installation --- entrypoint.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 50eae20..01d26f9 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,6 +2,10 @@ set -e +# Call this as the fist thing so that if the user has added custom certificates +# to /usr/local/share/ca-certificates/ they will be used by pangolin-cli. +update-ca-certificates + # Check if Pangolin environment variables are set if [ -n "$PANGOLIN_ENDPOINT" ] && [ -n "$CLIENT_ID" ] && [ -n "$CLIENT_SECRET" ]; then # Run pangolin-cli up --attach with the provided credentials