Skip to content

Instantly share code, notes, and snippets.

@davibe
Created August 21, 2019 15:20
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 davibe/a4434ebfd0e8218290ed33c709071e0b to your computer and use it in GitHub Desktop.
Save davibe/a4434ebfd0e8218290ed33c709071e0b to your computer and use it in GitHub Desktop.
app/src/main/res/xml/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