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
proxy #870
Comments
use adb.
|
Thanks you!!! |
FYI, to add a system CA certificate to allow TLS/SSL traffic inspection:
$ openssl x509 -subject_hash_old -in my-ca-cert.pem | head -1
13acab12
$ sudo mkdir -p /var/lib/waydroid/overlay/system/etc/security/cacerts/
$ sudo cp my-ca-cert.pem /var/lib/waydroid/overlay/system/etc/security/cacerts/13acab12.0
$ sudo chmod 644 /var/lib/waydroid/overlay/system/etc/security/cacerts/13acab12.0 You may need to restart Waydroid afterwads if the change did not apply immediately. This works quite well with some applications I tried, including web browsers, and with HTTPS proxies such as mitmproxy, Burp, Fiddler, Charles, etc. At first, I installed it as a user certificate, as described here, but it wasn't enough – it only worked in a browser, but not in other apps. |
To unset the proxy, use this: $ adb shell settings delete global http_proxy
$ adb shell settings delete global global_http_proxy_host
$ adb shell settings delete global global_http_proxy_port This requires rebooting the device or, in case of Waydroid, restarting the session. To unset the proxy without restarting Waydroid, use:
|
Thanks @selurvedu, your comments were very helpful In addition, don't forget to call: |
@houdinihacker thanks for the tip, I added that to my comment. |
@selurvedu Thanks, I was doing it wrong previously by using Note: you also need to restart Waydroid after adding a new certificate. |
@baptx the command I wrote in my comment should cover it too:
This will fail if
|
@selurvedu it did not cover it in my case because I meant all these directories did not exist in |
@baptx Interesting. There were other files and directories under |
Hi!
is it possible to use a proxy for the application or container to work?
if there is how to do it?
The text was updated successfully, but these errors were encountered: