Skip to content

Commit 3697c8c

Browse files
committed
fix(copilot-sandbox): Export CURL_CA_BUNDLE and SSL_CERT_FILE for corporate CA support
1 parent aace5cc commit 3697c8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

copilot-sandbox/user-entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ if [ -f /usr/local/share/ca-certificates/extra-ca.crt ]; then
6666
_combined_ca="/tmp/combined-ca.crt"
6767
cat /etc/ssl/certs/ca-certificates.crt /usr/local/share/ca-certificates/extra-ca.crt > "$_combined_ca"
6868
export GIT_SSL_CAINFO="$_combined_ca"
69+
export CURL_CA_BUNDLE="$_combined_ca"
70+
export SSL_CERT_FILE="$_combined_ca"
6971
fi
7072

7173
# SSH config — reconstruct from host keys (init phase runs in a separate container)

0 commit comments

Comments
 (0)