Skip to content

Custom certs#111

Open
Ankur Goyal (ankrgyl) wants to merge 4 commits intomainfrom
custom-certs
Open

Custom certs#111
Ankur Goyal (ankrgyl) wants to merge 4 commits intomainfrom
custom-certs

Conversation

@ankrgyl
Copy link
Copy Markdown
Contributor

@ankrgyl Ankur Goyal (ankrgyl) commented Apr 14, 2026

Respect SSL_CERT_FILE but allow users to pass in --ca-cert / BRAINTRUST_CA_CERT to override it.

@github-actions
Copy link
Copy Markdown

Latest downloadable build artifacts for this PR commit 87b70bee6e4a:

Available artifact names
  • ``artifacts-build-global
  • ``artifacts-build-local-x86_64-apple-darwin
  • ``artifacts-build-local-x86_64-pc-windows-msvc
  • ``artifacts-build-local-aarch64-apple-darwin
  • ``artifacts-build-local-x86_64-unknown-linux-musl
  • ``artifacts-build-local-aarch64-unknown-linux-musl
  • ``artifacts-build-local-aarch64-unknown-linux-gnu
  • ``artifacts-build-local-x86_64-unknown-linux-gnu
  • ``artifacts-plan-dist-manifest
  • ``cargo-dist-cache

@hansmire
Copy link
Copy Markdown

Tested the PR build on macOS (Apple Silicon) behind a corporate proxy with a custom CA cert (SSL_CERT_FILE pointing to an internal CA bundle).

Current release (v0.5.0) fails with:

error: network error: error sending request for url (https://www.braintrust.dev/api/apikey/login)

PR build — all scenarios pass:

Test Result
SSL_CERT_FILE set (existing env) works
--ca-cert flag works
BRAINTRUST_CA_CERT env var works
No cert env vars (native OS store) works

Native cert store change + the explicit --ca-cert override both work as expected. This unblocks CLI usage behind corporate proxies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants