Skip to content

Conversation

@IlyaBizyaev
Copy link
Contributor

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:

— except error handling is relaxed to accommodate for tls_config.root_cert_path.

@abonander
Copy link
Collaborator

@IlyaBizyaev can you amend and force-push to trigger new CI runs?

@IlyaBizyaev IlyaBizyaev force-pushed the feature/rustls-native-certs branch 2 times, most recently from 7048aae to 5631054 Compare November 27, 2024 23:10
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 IlyaBizyaev force-pushed the feature/rustls-native-certs branch from 5631054 to e62fa65 Compare November 27, 2024 23:13
@IlyaBizyaev
Copy link
Contributor Author

There was a problem with tls-rustls-aws-lc-rs that should be fixed now.

@abonander abonander merged commit 35c78f5 into launchbadge:main Nov 28, 2024
81 checks passed
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