bitbake: fetch2: Add NODE_EXTRA_CA_CERTS to export list
PATCH v3 1/1 bitbake: fetch2: Add NODE_EXTRA_CA_CERTS to export list
If you are behind a corporate proxy, the npm fetcher uses the proxy IP address already passed in the list of exports. However, it will error if the proxy injects its own root CA certificate. Thus, the NODE_EXTRA_CA_CERTS environment variable must be passed so the user can include their company's root CA as a trusted CA inside node's certificate store.
Signed-off-by George Kelly <[email protected]>
--- lib/bb/fetch2/__init__.py | 1 + 1 file changed, 1 insertion(+)
lib/bb/fetch2/__init__.py +1 -0
@@ -851,6 +851,7 @@ FETCH_EXPORT_VARS = ['HOME', 'PATH', 'DBUS_SESSION_BUS_ADDRESS', 'P4CONFIG', 'SSL_CERT_FILE', + 'NODE_EXTRA_CA_CERTS', 'AWS_PROFILE', 'AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY',
Signature · 1 line
2.37.2