mirror of
https://github.com/immich-app/immich.git
synced 2025-02-11 01:18:24 -05:00
fix(mobile): client TLS on ios (#11415)
This commit is contained in:
parent
0beeb61f5c
commit
ddc4d2f927
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue