MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / build_insecure_rustls_config

Function build_insecure_rustls_config

crates/openshell-cli/src/tls.rs:305–311  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

303}
304
305pub fn build_insecure_rustls_config() -> Result<rustls::ClientConfig> {
306 let config = rustls::ClientConfig::builder()
307 .dangerous()
308 .with_custom_certificate_verifier(std::sync::Arc::new(InsecureServerCertVerifier))
309 .with_no_client_auth();
310 Ok(config)
311}
312
313/// Tunnel proxy addresses keyed by upstream endpoint + token.
314///

Callers 2

build_channelFunction · 0.85
http_health_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected