-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TLS Client certificate Server is not reachable #11399
Comments
@yjiang-c Do you have any thoughts on this? |
What is the command to generate client certificate? As I know, you need -legacy option in OpenSSL command to generate client certificates for iOS |
Yes, I know, I used the -legacy option. It's also possible for me to add the certificate on iOS natively. |
I'm seeing the same issue, and I'm able to access the site through Safari on iOS after having imported the certificate in the system. |
Thanks for your reporting. I can confirm that the issue is reproduced on iOS but not on Android. Based on my debug log on server side, the client does not send certificate to server. I will investigate the issue. BTW, is there anybody produce this issue on older iOS versions before 17.5.1? |
Based on log analysis, I cannot find any wrong with my code. In addition, the issue is not reproducible on Android client, I suspected it should be problem on dart library. I raised an issue to dart http group for more investigation. dart-lang/http#1277 |
After looking at source code of dart sdk source code, I suspected that @alextran1502 Since I have no development/test environment for iOS app, is there any way for you run test internally to check whether the issue could be solved by a patch I am going to propose? Thanks! |
@yjiang-c can you walk me to how to set it up for testing? I can help you test |
@alextran1502 If you like, you can follow this web page https://docs.nginx.com/nginx-management-suite/admin-guides/configuration/secure-traffic/ to setup nginx and generate client certificate, but it may need some learning curve if you have never done it before. Another option is that I can email you my client certificate file and URL of my immich server. You just need to run iOS app to check whether you can got immich login page after logout. Which one do you prefer? |
@yjiang-c the second option sounds easier, let's do that. I won't be able to get around this until late tonight or early tomorrow |
@alextran1502 Thanks a lot for your quick reply. I just emailed you about my immich URL and corresponding client certificate. Please let me know if you did not receive it. Thanks! |
If it is helpful, I can also help test the app, as I already have the proxy server and certificate configured, in case there's a beta version available for testing. |
@pedropombeiro thanks for your kind help offer. The currently we are still in investigation stage by doing some internal tests. We will let you know if we need help. |
We found the root cause and the issue will be fixed soon. Thanks all involved for reporting issues and @alextran1502 for quick test. |
Thanks @yjiang-c for implementing this mechanism ❤️ |
The bug
I'm trying to use the new client certificate feature on iOS 17.5.1 but I'm a
Server is not reachable
Toast.The client certificate was set as you can see in the log section.
The OS that Immich Server is running on
Ubuntu 22.04
Version of Immich Server
v1.110.0
Version of Immich Mobile App
v1.110.0
Platform with the issue
Your docker-compose.yml content
Your .env content
Reproduction steps
1. configure your reverse proxy to require a client certificate 2. open the immich app on iOS and log out 3. import the client certificate in the api 4. try to connect to server
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: