-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Allow to disable the default ca trust completely #34292
Comments
It's not a difficult change to make but I think it needs more justification. With TLS, you need to trust something. Completely disabling the default CA store means passing When/why would you want that and is using a preload module (with |
@bnoordhuis I think |
@nodejs/crypto Thoughts? For https there's a simple workaround, but not e.g. |
There has been no activity on this feature request for 5 months and it is unlikely to be implemented. It will be closed 6 months after the last non-automated comment. For more information on how the project manages feature requests, please consult the feature request management document. |
There has been no activity on this feature request and it is being closed. If you feel closing this issue is not the right thing to do, please leave a comment. For more information on how the project manages feature requests, please consult the feature request management document. |
Is your feature request related to a problem? Please describe.
Currently there are only two options regarding the default ca trust used by nodejs
--use-bundled-ca
(default) - Using the hardcoded ca trust: https://github.com/nodejs/node/blob/master/src/node_root_certs.h--use-openssl-ca
- Using the openssl default ca trustSo there is no out of the box chance to disable the default trust.
According to #4175 (comment) you have to override it manually
Describe the solution you'd like
From security and operation perspective it would be even better per default not having any trust cas at all, but that would be a huge, breaking change.
So at least an option like
--use-no-ca
would be very helpful hereThe text was updated successfully, but these errors were encountered: