mirror of
https://github.com/immich-app/immich.git
synced 2024-11-24 08:52:28 +02:00
fix(mobile): client TLS on ios (#11415)
This commit is contained in:
parent
0beeb61f5c
commit
ddc4d2f927
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user