1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-15 07:14:42 +02:00

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

This commit is contained in:
Alex
2024-07-28 17:32:53 -05:00
committed by GitHub
parent 0beeb61f5c
commit ddc4d2f927

View File

@ -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);
}
} catch (e) {
_log.severe("Failed to set SSL client cert: $e");
return false;