From 44bf57b397adadbab254b26e267071695043a389 Mon Sep 17 00:00:00 2001 From: Kalvin C Date: Fri, 31 Jan 2025 16:32:58 -0800 Subject: [PATCH] fix: use SSL_CERT_FILE to point to CA bundle, not for mTLS client cert (#1017) --- ui/desktop/src/bin/uvx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/desktop/src/bin/uvx b/ui/desktop/src/bin/uvx index 74c3690b..dc0de2e7 100755 --- a/ui/desktop/src/bin/uvx +++ b/ui/desktop/src/bin/uvx @@ -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." @@ -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." \ No newline at end of file +log "uvx setup script completed successfully."