paritytech / jsonrpsee

Rust JSON-RPC library on top of async/await
MIT License
629 stars 169 forks source link

refactor: use rustls-platform-verifier cert store #1373

Closed niklasad1 closed 4 months ago

niklasad1 commented 4 months ago

Close #1340

This PR replaces the current certificate stores rust-native-cert and webpki with rustls-platform-verifier and additionally it adds an API to use a custom certificate store for special use-cases e.g. such as disabling cert verification or use some custom certificate store on some niche platform.

niklasad1 commented 4 months ago

Little comment to remove on the tls feature and wondering if we need some builder fns but looks good to me!

The builder fns in this PR should be sufficient :)