Skip to content

Commit

Permalink
fix: use SSL_CERT_FILE to point to CA bundle, not for mTLS client cert (
Browse files Browse the repository at this point in the history
  • Loading branch information
kalvinnchau authored Feb 1, 2025
1 parent 60ffb8e commit 44bf57b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/desktop/src/bin/uvx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ if [ -n "${GOOSE_UV_REGISTRY:-}" ] && curl -s --head --fail "$GOOSE_UV_REGISTRY"
curl -sSL -o ~/.config/goose/mcp-hermit/cert.pem "$GOOSE_UV_CERT"
if [ $? -eq 0 ]; then
log "Certificate downloaded successfully."
export SSL_CLIENT_CERT=~/.config/goose/mcp-hermit/cert.pem
export SSL_CERT_FILE=~/.config/goose/mcp-hermit/cert.pem
else
log "Unable to download the certificate. Skipping certificate setup."
log "Unable to download the certificate. Skipping certificate setup."
fi
else
log "GOOSE_UV_CERT is either not set or not accessible. Skipping certificate setup."
Expand All @@ -101,4 +101,4 @@ fi
log "Executing 'uvx' command with arguments: $*"
uvx "$@" || log "Failed to execute 'uvx' with arguments: $*"

log "uvx setup script completed successfully."
log "uvx setup script completed successfully."

0 comments on commit 44bf57b

Please sign in to comment.