Decrypting traffic using Charles Proxy

Hi I’m working as FAST channel integration developer,

Currently I’m trying to Decrypting traffic using Charles Proxy for fireTVstick 4k,

OS version 6.7

in Dev mode, I did the following article(Network Proxy (Developer Tools on Fire TV) step by step.

I could run the commands without any problem, but after running the command:

 adb shell am start -a "android.intent.action.VIEW" -d "file:///storage/emulated/0/Download/charles-ssl-proxying-certificate.pem" -t "application/x-x509-ca-cert"

The step 4 is correctly done ( Provide a friendly name and ensure that VPN and apps is selected under Credential use .)

But at the step 5 ( 1. Press OK to install the certificate. You will be asked to authenticate with your Amazon credentials and an onscreen notification will confirm success.) this is where the issue is happening. At this Step, there is a modal for verifying the credentials, but after accepting the modal, there is another message showing below saying “the certificate is not installed”, I’ve already done it many times and even reset the device from factory. I do not understand what is happening.

This issue is a big roadblock on developing quality FAST channels for the Firetv fire stick, if somebody could provide a little clarity on this I’d be very thankful.

Thank you whoever read this :slight_smile:

Hi qiyin,

Thanks for posting! I asked the relevant team to investigate.

Thank you a lot Levon!

If you need me to provide any files, screenshot or record I can do it for sure,

We are developing channels but first we will need to troubleshooting them with Charles proxy.

Have a good weekend!

Best,

Qiyin.

Thanks Qiyin,

Yes, a screenshot and if possible log files would be super helpful. Thanks!

Hi Levon,

I will leave this here,

repeated the steps I hope this help,

Just a cue trying to build the App maybe the error show at the terminal is a cue:

ERROR: /Users/awg/AndroidStudioProjects/firestick2/app/src/main/res/xml/network_security_config.xml:19: AAPT: error: resource raw/charles_ssl_proxying_certificate (aka com.example.firestick2:raw/charles_ssl_proxying_certificate) not found.

Drive with the videos and captures

One more thing to Add, I’m able to see the adb logcat at it’s terminal, but I cannot check the ‘Network tab’ for FireStick.

Thank you a lot!