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

Add use of Mozilla's root certificates for TLS client communication as a feature #387

Open
harlem88 opened this issue Oct 16, 2024 · 0 comments · May be fixed by #396
Open

Add use of Mozilla's root certificates for TLS client communication as a feature #387

harlem88 opened this issue Oct 16, 2024 · 0 comments · May be fixed by #396
Milestone

Comments

@harlem88
Copy link
Collaborator

rustls_native_certs::load_native_certs().map_err(PairingError::Native)?;

Currently for a TLS communication we use the root_certificate provided by the platform. In some scenarios the platform could not provide a valid root certicate, so we can provide it via webpki-roots.

Example:

#[cfg(feature = "webpki")]
let root_cert_store = RootCertStore {
    roots: webpki_roots::TLS_SERVER_ROOTS.into(),
};
@harlem88 harlem88 added this to the v0.10 milestone Dec 2, 2024
@rgallor rgallor linked a pull request Dec 10, 2024 that will close this issue
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 a pull request may close this issue.

1 participant