Skip to content

Load additional certificates specified via SSL_CERT_FILE or SSL_CERT_DIR#33

Closed
sandermvanvliet-stack wants to merge 1 commit into
statsig-io:mainfrom
sandermvanvliet-stack:feat/ssl-cert-env-vars
Closed

Load additional certificates specified via SSL_CERT_FILE or SSL_CERT_DIR#33
sandermvanvliet-stack wants to merge 1 commit into
statsig-io:mainfrom
sandermvanvliet-stack:feat/ssl-cert-env-vars

Conversation

@sandermvanvliet-stack
Copy link
Copy Markdown

@sandermvanvliet-stack sandermvanvliet-stack commented Feb 10, 2026

In our deployment scenario we have to work with a MITM style proxy (zScaler) that re-signs HTTPS traffic. The current implementation appears not to use the system roots which is causing every request to fail.

This PR adds the ability to specify additional CA certificates to be added to the trusted roots used by rustls and reqwest.
Most likely this should instead use rustls-platform-verifier 🤔

I would not suggest to merge this but rather have this as a starter for a better approach.
It has allowed us to progress with our testing by rolling custom builds of the rust parts.

@sandermvanvliet-stack
Copy link
Copy Markdown
Author

I've just seen #31 which is the better option.

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.

1 participant