Modern Apps git
git clone https://git.maproj.org/Modern-Apps.git
dependencies ▾

Modern-Apps.git / web / src / main / res / xml / network_security_config.xml

network_security_config.xml14 lines · 704 BRaw
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Cleartext and user certificates stay permitted at the platform level so
3 LAN devices (routers, NAS boxes, dev servers with self-signed certs) can
4 load at all; LanPolicy in domain/ is the actual gate and blocks every
5 public cleartext request before it reaches the network. -->
6<network-security-config xmlns:tools="http://schemas.android.com/tools"
7 tools:ignore="AcceptsUserCertificates,InsecureBaseConfiguration">
8 <base-config cleartextTrafficPermitted="true">
9 <trust-anchors>
10 <certificates src="system" />
11 <certificates src="user" />
12 </trust-anchors>
13 </base-config>
14</network-security-config>