forked from jmshrv/finamp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a network-security-config thingy to use the system CA bundles
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<network-security-config> | ||
<base-config> | ||
<trust-anchors> | ||
<certificates src="user" /> | ||
<certificates src="system" /> | ||
</trust-anchors> | ||
</base-config> | ||
<!-- everything below is really just provided as an exmaple of trying to | ||
force this thing to eat additional CAs and just won't. This seems to be a | ||
known bug. | ||
https://github.com/flutter/flutter/issues/65841#issuecomment-692810524 --> | ||
<domain-config> | ||
<domain includeSubdomains="true">somedomain.test</domain> | ||
<trust-anchors> | ||
<!-- <certificates src="@raw/trusted_roots"/> --> | ||
<certificates src="system"/> | ||
<certificates src="user"/> | ||
</trust-anchors> | ||
</domain-config> | ||
</network-security-config> |