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

Support building with rustls but native certificates #3551

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 8, 2024

  1. Support building with rustls but native certificates

    This adds an alternative TLS configuration that relies on rustls-native-certs,
    for users who cannot bundle the MPL-licensed webpki-roots.
    
    The approach is copied from reqwest:
    
    * https://github.com/seanmonstar/reqwest/blob/3ad6e02cd/Cargo.toml#L48
    * https://github.com/seanmonstar/reqwest/blob/3ad6e02cd/src/async_impl/client.rs#L513
    
    — except error handling is relaxed to accommodate for tls_config.root_cert_path.
    IlyaBizyaev committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    568b535 View commit details
    Browse the repository at this point in the history