Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically configure Node.js for custom certificates #61

Closed
rarkins opened this issue May 18, 2021 · 2 comments · Fixed by #97
Closed

Automatically configure Node.js for custom certificates #61

rarkins opened this issue May 18, 2021 · 2 comments · Fixed by #97
Assignees

Comments

@rarkins
Copy link
Member

rarkins commented May 18, 2021

If custom certificates are provided, we should automatically configure Node.js to use them. By default they use their own bundled CA certs, so I think would ignore any custom certs added to Linux.

Should we configure --use-openssl-ca or SSL_CERT_DIR or SSL_CERT_FILE?

@viceice
Copy link
Member

viceice commented May 19, 2021

We can export NODE_OPTIONS=--use-openssl-ca when installing node

https://nodejs.org/api/cli.html#cli_node_options_options
https://nodejs.org/api/cli.html#cli_use_bundled_ca_use_openssl_ca

@github-actions
Copy link

🎉 This issue has been resolved in version 1.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants