We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab91e07 commit 2f60720Copy full SHA for 2f60720
packages/rs-dapi-client/src/transport/grpc.rs
@@ -22,7 +22,11 @@ fn create_channel(
22
uri: Uri,
23
settings: Option<&AppliedRequestSettings>,
24
) -> Result<Channel, dapi_grpc::tonic::transport::Error> {
25
- let mut builder = Channel::builder(uri).tls_config(ClientTlsConfig::new())?;
+ let mut builder = Channel::builder(uri).tls_config(
26
+ ClientTlsConfig::new()
27
+ .with_native_roots()
28
+ .with_webpki_roots(),
29
+ )?;
30
31
if let Some(settings) = settings {
32
if let Some(timeout) = settings.connect_timeout {
0 commit comments