[PR #4051] [MERGED] feat(mobile): allow self-signed certificate on the mobile app #10221

Closed
opened 2026-02-05 14:18:02 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/immich-app/immich/pull/4051
Author: @ddshd
Created: 9/11/2023
Status: Merged
Merged: 9/12/2023
Merged by: @alextran1502

Base: mainHead: self-signed-cert


📝 Commits (10+)

📊 Changes

10 files changed (+157 additions, -42 deletions)

View changed files

📝 mobile/assets/i18n/en-US.json (+3 -0)
📝 mobile/lib/main.dart (+2 -0)
📝 mobile/lib/modules/login/ui/login_form.dart (+77 -29)
📝 mobile/lib/modules/settings/services/app_settings.service.dart (+1 -0)
📝 mobile/lib/modules/settings/ui/advanced_settings/advanced_settings.dart (+20 -1)
📝 mobile/lib/modules/settings/ui/settings_switch_list_tile.dart (+15 -7)
📝 mobile/lib/routing/router.dart (+0 -1)
📝 mobile/lib/routing/router.gr.dart (+1 -4)
📝 mobile/lib/shared/models/store.dart (+1 -0)
mobile/lib/utils/http_ssl_cert_override.dart (+37 -0)

📄 Description

Added a checkbox that allows users to avoid self-signed certificate checks

UI:
image
image
image

How this was tested:

  • Created an endpoint with self-signed cert
  • App errors if checkbox is not checked, app accepts server endpoint is checkbox is checked
  • App is able to connect to self-signed cert server on restart

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/immich-app/immich/pull/4051 **Author:** [@ddshd](https://github.com/ddshd) **Created:** 9/11/2023 **Status:** ✅ Merged **Merged:** 9/12/2023 **Merged by:** [@alextran1502](https://github.com/alextran1502) **Base:** `main` ← **Head:** `self-signed-cert` --- ### 📝 Commits (10+) - [`5bfd937`](https://github.com/immich-app/immich/commit/5bfd9372de02b4f01359cf16a2fb090a73065ae8) WIP: self-signed certs accept - [`2a990af`](https://github.com/immich-app/immich/commit/2a990af75886a09b64cd1f126deebe7849ff4ad8) Merge branch 'main' of https://github.com/ddshd/immich into self-signed-cert - [`c278d78`](https://github.com/immich-app/immich/commit/c278d78c3efce4747569ded31524b654c4220376) WIP: format - [`38515e9`](https://github.com/immich-app/immich/commit/38515e9516d7fa8fc1f42022f0682fdd0d8423be) WIP: pushing up adding settings menu - [`fec3846`](https://github.com/immich-app/immich/commit/fec3846a192b64b178468e308a4f2e9fcf8b9ff9) Add serverEndpointURL check - [`e187227`](https://github.com/immich-app/immich/commit/e187227a51fa47af0419037cf333f5a12f4c0e67) Add translation update - [`b883241`](https://github.com/immich-app/immich/commit/b88324101781ac0e1cb58ab5f9478e9117c5a71e) Handle errors properly - [`411680f`](https://github.com/immich-app/immich/commit/411680f2b9cd82291a4773be9ce778c768a37a28) format - [`1cfdc2f`](https://github.com/immich-app/immich/commit/1cfdc2fa9854616476f2fa451a8d7227ac7afa5e) typo - [`26c2731`](https://github.com/immich-app/immich/commit/26c2731079c583e1ba4810c7d533b3864ed86a6d) cleanup ### 📊 Changes **10 files changed** (+157 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `mobile/assets/i18n/en-US.json` (+3 -0) 📝 `mobile/lib/main.dart` (+2 -0) 📝 `mobile/lib/modules/login/ui/login_form.dart` (+77 -29) 📝 `mobile/lib/modules/settings/services/app_settings.service.dart` (+1 -0) 📝 `mobile/lib/modules/settings/ui/advanced_settings/advanced_settings.dart` (+20 -1) 📝 `mobile/lib/modules/settings/ui/settings_switch_list_tile.dart` (+15 -7) 📝 `mobile/lib/routing/router.dart` (+0 -1) 📝 `mobile/lib/routing/router.gr.dart` (+1 -4) 📝 `mobile/lib/shared/models/store.dart` (+1 -0) ➕ `mobile/lib/utils/http_ssl_cert_override.dart` (+37 -0) </details> ### 📄 Description Added a checkbox that allows users to avoid self-signed certificate checks UI: ![image](https://github.com/immich-app/immich/assets/17243132/f18d7e10-1d23-4233-86ef-eda29010bde3) ![image](https://github.com/immich-app/immich/assets/17243132/635e4ef9-3f35-4339-8230-bf748e55ac07) ![image](https://github.com/immich-app/immich/assets/17243132/28fa7401-fd08-42d9-926d-78f4343d1b5f) How this was tested: - Created an endpoint with self-signed cert - App errors if checkbox is not checked, app accepts server endpoint is checkbox is checked - App is able to connect to self-signed cert server on restart --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 14:18:02 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#10221