Add NODE_EXTRA_CA_CERTS to export list
PATCH v2 1/1 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.
--- 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
Hello George,
Quoted 9 lines · On Tue, 7 Feb 2023 17:10:22 -0500 "George Kelly" <[email protected]>…
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_CERTSenvironment 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]>
Your subject and commit message looks definitely good now, thanks! I added your patch to my testing branch.
Signature · 3 lines
Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 8 lines
-----Original Message-----
From: [email protected] <bitbake- [email protected]> On Behalf Of Luca Ceresoli via lists.openembedded.org
Sent: den 8 februari 2023 11:15
To: George Kelly <[email protected]>
Cc: [email protected]
Subject: Re: [bitbake-devel] [bitbake][PATCHv2] AddNODE_EXTRA_CA_CERTSto export list
There should be a prefix for the subject, e.g., "fetch2: "
Quoted 16 lines
Hello George,
Quoted 9 lines · On Tue, 7 Feb 2023 17:10:22 -0500 "George Kelly" <[email protected]>…
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_CERTSenvironment 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]>
Quoted 7 lines
Your subject and commit message looks definitely good now, thanks! I added your patch to my testing branch.
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
//Peter