Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): client TLS on ios (#11415)

Alexddc4d2f92785
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;