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

Include feature for (native) certificates #468

Merged
merged 1 commit into from
Jun 6, 2021
Merged

Commits on Jun 5, 2021

  1. Include feature for (native) certificates

    Addresses Schniz#314 allowing use of fnm when behind a proxy with certificates.
    
    This adds the `"rustls-tls-native-roots"` [cargo feature](https://docs.rs/reqwest/0.11.3/reqwest/#optional-features) to reqwest. That uses [rustls-native-certs](https://github.com/rustls/rustls-native-certs):
    > rustls-native-certs allows rustls to use the platform's native certificate store when operating as a TLS client.
    
    I tested on macOS both with and without proxy mainly doing `cargo run -- list-remote`, and installing node 16, this worked behind proxy. Without proxy I only tested list-remote. Perhaps other commands need to be retested as well.
    
    The [`native-tls`](https://docs.rs/native-tls/0.2.7/native_tls/) feature might also work, I didn't test. They seem to cover similar functionality but maybe it works better on Linux ARM systems.
    pfiaux authored Jun 5, 2021
    Configuration menu
    Copy the full SHA
    76d1cca View commit details
    Browse the repository at this point in the history