Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/advanced/tls-interception.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ httpjail sets these environment variables for the child process:
- `CURL_CA_BUNDLE` - curl
- `REQUESTS_CA_BUNDLE` - Python requests
- `NODE_EXTRA_CA_CERTS` - Node.js
- `DENO_CERT` - Deno
- `CARGO_HTTP_CAINFO` - Cargo
- `GIT_SSL_CAINFO` - Git

Expand Down
1 change: 1 addition & 0 deletions docs/guide/platform-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,6 @@ httpjail sets these variables for the child process to trust the CA certificate:
- `CURL_CA_BUNDLE` - curl
- `REQUESTS_CA_BUNDLE` - Python requests
- `NODE_EXTRA_CA_CERTS` - Node.js
- `DENO_CERT` - Deno
- `CARGO_HTTP_CAINFO` - Cargo
- `GIT_SSL_CAINFO` - Git
4 changes: 3 additions & 1 deletion src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,9 @@ impl CertificateManager {
// Python requests
("REQUESTS_CA_BUNDLE".to_string(), ca_path_str.clone()),
// Node.js
("NODE_EXTRA_CA_CERTS".to_string(), ca_path_str),
("NODE_EXTRA_CA_CERTS".to_string(), ca_path_str.clone()),
// Deno
("DENO_CERT".to_string(), ca_path_str),
];

Ok(env_vars)
Expand Down
Loading