When integrating features in your app that communicate over the internet, you may need to view SSL/HTTPS traffic for various reasons. For example, if you are implementing analytics in your app and notice data discrepancies with your analytics provider, you could inspect the exact data that is being sent to/from your app to isolate if the root cause of the discrepancy originates from the app. Analytics data is typically encrypted, therefore you need a mechanism to view the encrypted data in plain text to effectively troubleshoot.
With proxy support on Fire TV and using a popular proxy tool such as Charles Proxy, you can set up your Fire TV environment to view SSL/HTTPS traffic in plain text.
adb shell am start -n com.amazon.ssm/.ControlPanel
Developer Tools Menu - Network Proxy
Network Proxy - Enter Proxy information
res/xml/network_security_config.xml
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<debug-overrides>
<trust-anchors>
<!-- Trust the following CA while debuggable only -->
<certificates src="@raw/my_ca"/>
</trust-anchors>
</debug-overrides>
</network-security-config>
res/raw/my_ca
my_ca
and copy the file to res/raw
References: