Merge pull request #5501 from ByteHamster/ca-certs

Allow connecting to pages signed with user CA
This commit is contained in:
ByteHamster 2021-10-30 11:48:39 +02:00 committed by GitHub
commit 37cc538dbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -40,7 +40,8 @@
android:supportsRtl="true"
android:logo="@mipmap/ic_launcher"
android:resizeableActivity="true"
android:allowAudioPlaybackCapture="true">
android:allowAudioPlaybackCapture="true"
android:networkSecurityConfig="@xml/network_security_config">
<meta-data android:name="android.webkit.WebView.MetricsOptOut"

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config xmlns:tools="http://schemas.android.com/tools">
<base-config cleartextTrafficPermitted="true" tools:ignore="InsecureBaseConfiguration">
<trust-anchors>
<certificates src="user" tools:ignore="AcceptsUserCertificates"/>
<certificates src="system" />
</trust-anchors>
</base-config>
</network-security-config>