mirror of
https://github.com/2dust/v2rayNG.git
synced 2025-06-29 20:59:51 +00:00
Allow user certificate (#4375)
* Add network security config for user CA * Use network security config * mv * Suppress Inspection for user CA
This commit is contained in:
parent
38850597f3
commit
bada7c93d7
2 changed files with 11 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
|||
android:supportsRtl="true"
|
||||
android:theme="@style/AppThemeDayNight"
|
||||
android:usesCleartextTraffic="true"
|
||||
android:networkSecurityConfig="@xml/network_security_config"
|
||||
tools:targetApi="m">
|
||||
|
||||
<activity
|
||||
|
|
10
V2rayNG/app/src/main/res/xml/network_security_config.xml
Normal file
10
V2rayNG/app/src/main/res/xml/network_security_config.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config xmlns:tools="http://schemas.android.com/tools">
|
||||
<base-config>
|
||||
<trust-anchors>
|
||||
<certificates src="system"/>
|
||||
<certificates src="user"
|
||||
tools:ignore="AcceptsUserCertificates" />
|
||||
</trust-anchors>
|
||||
</base-config>
|
||||
</network-security-config>
|
Loading…
Add table
Add a link
Reference in a new issue