From ddc4d2f92785f273c24b45c6fc296654e6a94539 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 28 Jul 2024 17:32:53 -0500 Subject: [PATCH] fix(mobile): client TLS on ios (#11415) --- mobile/lib/utils/http_ssl_cert_override.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mobile/lib/utils/http_ssl_cert_override.dart b/mobile/lib/utils/http_ssl_cert_override.dart index 7794831adb..9ce7334be2 100644 --- a/mobile/lib/utils/http_ssl_cert_override.dart +++ b/mobile/lib/utils/http_ssl_cert_override.dart @@ -25,9 +25,7 @@ class HttpSSLCertOverride extends HttpOverrides { try { _log.info("Setting client certificate"); ctx.usePrivateKeyBytes(cert.data, password: cert.password); - if (!Platform.isIOS) { - ctx.useCertificateChainBytes(cert.data, password: cert.password); - } + ctx.useCertificateChainBytes(cert.data, password: cert.password); } catch (e) { _log.severe("Failed to set SSL client cert: $e"); return false;