26 lines
896 B
XML
26 lines
896 B
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<network-security-config>
|
||
|
|
<!-- 针对特定域名的配置 -->
|
||
|
|
<domain-config cleartextTrafficPermitted="false">
|
||
|
|
<!-- 配置您的服务器域名 -->
|
||
|
|
<domain includeSubdomains="true">wxperkinsasrs.ap.cat.com</domain>
|
||
|
|
|
||
|
|
<!-- 信任策略 -->
|
||
|
|
<trust-anchors>
|
||
|
|
<!-- 信任系统预装的 CA 证书 -->
|
||
|
|
<certificates src="system" />
|
||
|
|
|
||
|
|
<!-- 信任用户手动安装的 CA 证书(最重要!) -->
|
||
|
|
<certificates src="user" />
|
||
|
|
</trust-anchors>
|
||
|
|
</domain-config>
|
||
|
|
|
||
|
|
<!-- 其他所有域名使用默认安全策略 -->
|
||
|
|
<domain-config cleartextTrafficPermitted="false">
|
||
|
|
<domain includeSubdomains="true">.</domain>
|
||
|
|
<trust-anchors>
|
||
|
|
<certificates src="system" />
|
||
|
|
</trust-anchors>
|
||
|
|
</domain-config>
|
||
|
|
</network-security-config>
|