Skip to content

Instantly share code, notes, and snippets.

@srea
Created July 30, 2019 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srea/58b7efd977f55c35afbf5dd4e0952374 to your computer and use it in GitHub Desktop.
Save srea/58b7efd977f55c35afbf5dd4e0952374 to your computer and use it in GitHub Desktop.
Android SSL Proxy
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