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

Configure https.globalAgent to use systems root certs #334

Closed

Conversation

joonvena
Copy link
Contributor

@joonvena joonvena commented Oct 4, 2021

In current Node version used in the project root certificate that the Node uses has expired. This certificate is baked inside the Node's binary so you can't directly tell the Node itself to use certificates from other path. This change allows the application to configure the root certificate path. This is only temporary solution and more permanent solution would be to upgrade Node to newer version.

@joonvena joonvena changed the title Configure https.globalAgent to use systems root cert. Configure https.globalAgent to use systems root certs Oct 4, 2021
@antti-mikael
Copy link
Contributor

Looks good enough to me. As mentioned above this is supposed to be only a temporary workaround. See nodejs/node#4175 for further reference.

@joonvena
Copy link
Contributor Author

joonvena commented Oct 8, 2021

This is now obsolete as the Node version was upgraded.

@joonvena joonvena closed this Oct 8, 2021
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 this pull request may close these issues.

2 participants