Commit 3e648e75 authored by Christophe Henry's avatar Christophe Henry
Browse files

Trust user-installed certificates

parent ee55b44d
......@@ -20,6 +20,7 @@
android:supportsRtl="true"
android:theme="@style/AppTheme.Bright"
android:usesCleartextTraffic="true"
android:networkSecurityConfig="@xml/network_security_config"
tools:ignore="GoogleAppIndexingWarning,UnusedAttribute">
<receiver
......
<?xml version="1.0" encoding="utf-8"?>
<network-security-config
xmlns:tools="http://schemas.android.com/tools">
<base-config>
<trust-anchors>
<!-- Trust preinstalled CAs -->
<certificates src="system" />
<!-- Additionally trust user added CAs -->
<certificates
tools:ignore="AcceptsUserCertificates"
src="user"
/>
</trust-anchors>
</base-config>
</network-security-config>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment