Created
July 30, 2019 15:41
-
-
Save srea/58b7efd977f55c35afbf5dd4e0952374 to your computer and use it in GitHub Desktop.
Android SSL Proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AndroidManifest.xml に定義を追加 | |
``` | |
<application | |
android:networkSecurityConfig="@xml/network_security_config" | |
``` | |
network_security_config.xml | |
``` | |
<?xml version="1.0" encoding="utf-8"?> | |
<network-security-config> | |
<debug-overrides> | |
<trust-anchors> | |
<!-- Trust user added CAs while debuggable only --> | |
<certificates src="user" /> | |
</trust-anchors> | |
</debug-overrides> | |
</network-security-config> | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment