You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are using a graphical client, please provide the version of the client.
1.11.0-beta.19
Version
No response
Description
Android client does not respect user installed root CAs when downloading remote rulesets. I have ensured that root CA is valid: sing-box CLI client for Windows successfully connects to a server And is correclty imported system-wise: another android apps (eg. Chrome) can open url to rule set file
Reproduction
Create a root CA and a server certificate signed by it using OpenSSL
Get root CA file on an Android device and server certificates on a server.
Prepare a server:
Install nginx (eg. sudo apt install nginx)
Peplace it's configuration file (eg. /etc/nginx/nginx.conf) with a one provided below
Restart server: nginx -s reload
Install root CA on Android device:
Settings → Security and privacy → Advanced settings → Credential storage → Install certificates from file → Root CA
Dismiss warning message and enter password/fingerprint/etc.
Browse and install root CA file
In Android client, add an config.json profile
Try to start it
Expected behaviour
Get some error related to HTTP status code 404
Actual behaviour
Get an error
Working config for an Windows CLI client:
It has an expected behaviour - reporting an HTTP 404 error
I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.
The text was updated successfully, but these errors were encountered:
KirillAldashkin
changed the title
[Android] User root CAs ignored when downloading remove rulesets
[Android] User root CAs ignored when downloading remote rulesets
Jan 3, 2025
Operating system
Android
System version
Android 14
Installation type
sing-box for Android Graphical Client
If you are using a graphical client, please provide the version of the client.
1.11.0-beta.19
Version
No response
Description
Android client does not respect user installed root CAs when downloading remote rulesets.
I have ensured that root CA is valid: sing-box CLI client for Windows successfully connects to a server
And is correclty imported system-wise: another android apps (eg. Chrome) can open url to rule set file
Reproduction
nginx
(eg.sudo apt install nginx
)/etc/nginx/nginx.conf
) with a one provided belownginx -s reload
Security and privacy → Advanced settings → Credential storage→ Install certificates from file → Root CAconfig.json
profileExpected behaviour
Get some error related to HTTP status code 404
Actual behaviour
Get an error
Working config for an Windows CLI client:
It has an expected behaviour - reporting an HTTP 404 error
Files:
config.json
nginx.conf
Logs
My Android device does not have an SD card and, thereof, an
/sdcard/*
path and I couldn't find any other path where application logs could be locatedLogs from sing-box CLI for the same
config.json
(expected behaviour for provivded reproduction):Supporter
Integrity requirements
The text was updated successfully, but these errors were encountered: