mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Android: allow user installed root certificates
On Android devices that no longer get updates to the system installed SSL root certificates, the user can easily install the updated Let's Encrypt root certificate, but that is only used by Subsurface-mobile if we explicitly allow the use of those user installed root certificates. Fixes #3335 Suggested-by: Greg Hunter Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b618d93241
commit
afdfccd274
2 changed files with 11 additions and 1 deletions
|
@ -10,7 +10,8 @@
|
|||
android:hardwareAccelerated="true"
|
||||
android:label="@string/app_name"
|
||||
android:extractNativeLibs="true"
|
||||
android:icon="@drawable/subsurface_mobile_icon" >
|
||||
android:icon="@drawable/subsurface_mobile_icon"
|
||||
android:networkSecurityConfig="@xml/network_security_config" >
|
||||
<activity
|
||||
android:name="org.subsurfacedivelog.mobile.SubsurfaceMobileActivity"
|
||||
android:configChanges="orientation|uiMode|screenLayout|screenSize|smallestScreenSize|layoutDirection|locale|fontScale|keyboard|keyboardHidden|navigation|mcc|mnc|density"
|
||||
|
|
9
android-mobile/res/xml/network_security_config.xml
Normal file
9
android-mobile/res/xml/network_security_config.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<network-security-config>
|
||||
<base-config cleartextTrafficPermitted="true">
|
||||
<trust-anchors>
|
||||
<certificates src="system" />
|
||||
<certificates src="user" />
|
||||
</trust-anchors>
|
||||
</base-config>
|
||||
</network-security-config>
|
Loading…
Reference in a new issue