Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
Enhance network security config with trust anchors
Niklas8ddfa5917201
diff --git a/apps/mobile/android/app/src/main/res/xml/network_security_config.xml b/apps/mobile/android/app/src/main/res/xml/network_security_config.xmlindex ec61a069a9..9915466bd8 100644--- a/apps/mobile/android/app/src/main/res/xml/network_security_config.xml+++ b/apps/mobile/android/app/src/main/res/xml/network_security_config.xml@@ -3,5 +3,12 @@<!-- Allow cleartext (plain HTTP) traffic to any host.Trilium users commonly self-host sync servers on LAN IPs orpersonal domains without TLS. -->- <base-config cleartextTrafficPermitted="true" />+ <base-config cleartextTrafficPermitted="true">+ <trust-anchors>+ <!-- Trust the pre-installed system Certificate Authorities (CAs) -->+ <certificates src="system" />+ <!-- Trust custom/self-signed CAs manually installed by the user on the device -->+ <certificates src="user" />+ </trust-anchors>+ </base-config></network-security-config>