From 0d7a417f332a57fb3e89250a1ce250b929d0b2f7 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 30 Sep 2021 09:26:15 +0200 Subject: feat(tls): custom in memory CA certificates (#12219) This adds support for using in memory CA certificates for `Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`. `certFile` is deprecated in `startTls` and `connectTls`, and removed from `Deno.createHttpClient`. --- ext/websocket/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/websocket') diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs index f9f11e591..dbb88dc8d 100644 --- a/ext/websocket/lib.rs +++ b/ext/websocket/lib.rs @@ -252,7 +252,7 @@ where Some("wss") => { let tls_config = create_client_config( root_cert_store, - None, + vec![], unsafely_ignore_certificate_errors, )?; let tls_connector = TlsConnector::from(Arc::new(tls_config)); -- cgit v1.2.3