mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Add cert
This commit is contained in:
parent
246071363a
commit
1f707c1e13
1 changed files with 5 additions and 0 deletions
|
|
@ -33,6 +33,11 @@ function getSafeChainProxyEnvironmentVariables() {
|
||||||
HTTPS_PROXY: `http://localhost:${state.port}`,
|
HTTPS_PROXY: `http://localhost:${state.port}`,
|
||||||
GLOBAL_AGENT_HTTP_PROXY: `http://localhost:${state.port}`,
|
GLOBAL_AGENT_HTTP_PROXY: `http://localhost:${state.port}`,
|
||||||
NODE_EXTRA_CA_CERTS: getCaCertPath(),
|
NODE_EXTRA_CA_CERTS: getCaCertPath(),
|
||||||
|
|
||||||
|
// Following env vars point pip and Python's requests/urllib at a CA bundle file.
|
||||||
|
PIP_CERT: getCaCertPath(),
|
||||||
|
REQUESTS_CA_BUNDLE: getCaCertPath(),
|
||||||
|
SSL_CERT_FILE: getCaCertPath(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue