You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failure to parse a cert can happen for a variety of reasons, some of which are outlined in that thread. But failure to parse a single cert from the MacOS Trust Record should not result in failing to load any cert at all if there are other trusted certs in the store.
Instead of failing and bailing when a bad cert is found, ignore one-off
errors for bad certs and continue to load the rest of the store.
These one-off errors mostly affect MacOS users, as found in this
rustls-native-certs issue: rustls/rustls-native-certs#4Fixes: hyperium#519
Instead of failing and bailing when a bad cert is found, ignore one-off
errors for bad certs and continue to load the rest of the store.
These one-off errors mostly affect MacOS users, as found in this
rustls-native-certs issue: rustls/rustls-native-certs#4Fixes: #519
Bug Report
When using the
tls-roots
feature, many MacOS users will run into this issue.Version
Platform
Linux (Arch, btw)
Crates
tonic
(specifically this line)Description
Failure to parse a cert can happen for a variety of reasons, some of which are outlined in that thread. But failure to parse a single cert from the MacOS Trust Record should not result in failing to load any cert at all if there are other trusted certs in the store.
Prescription
tonic
should use the best-effort strategy described in this comment on the previous thread and implemented inhyper-rustls
. Happy to make a PR for this if it would get merged!The text was updated successfully, but these errors were encountered: