mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Trust user-added CAs (closes https://github.com/inorichi/tachiyomi-extensions/issues/4581)
This commit is contained in:
		
							
								
								
									
										17
									
								
								app/src/main/res/xml/network_security_config.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								app/src/main/res/xml/network_security_config.xml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <network-security-config xmlns:tools="http://schemas.android.com/tools"> | ||||
|     <!-- Need to allow cleartext traffic for some sources --> | ||||
|     <base-config | ||||
|         cleartextTrafficPermitted="true" | ||||
|         tools:ignore="InsecureBaseConfiguration"> | ||||
|         <trust-anchors> | ||||
|             <!-- Trust preinstalled CAs --> | ||||
|             <certificates src="system" /> | ||||
|  | ||||
|             <!-- Additionally trust user added CAs --> | ||||
|             <certificates | ||||
|                 src="user" | ||||
|                 tools:ignore="AcceptsUserCertificates" /> | ||||
|         </trust-anchors> | ||||
|     </base-config> | ||||
| </network-security-config> | ||||
		Reference in New Issue
	
	Block a user