Skip to content

How to debug HTTP_PROXY config? #6784

Answered by pat-s
pat-s asked this question in Q&A
May 3, 2024 · 1 comments · 10 replies
Discussion options

You must be logged in to vote

Good news! I got is solved.

Turns out it was a wrong specification of NODE_EXTRA_CA_CERTS! 🤯️
Background: I assumed that /etc/ssl/certs/ca-bundle.crt is automatically read, also based on your comment here. And that NODE_EXTRA_CA_CERTS only adds additional certs.

Turns out that in this case, setting NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-bundle.crt solved the issue directly as all required certs were in there and no important ones were in the bundle which I initially referenced via NODE_EXTRA_CA_CERTS.

Take-away: maybe it is useful to add that piece of information to the docs somewhere?

Overall: thanks for your great patience and tremendous help here: In the end the one-liner to efficiently…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@code-asher
Comment options

@pat-s
Comment options

@code-asher
Comment options

@pat-s
Comment options

Answer selected by pat-s
@code-asher
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants