Search code examples
certificateamazon-fire-tv

Add a user trusted certificate to FireTV


Is there a way to add a CA certificate to a FireTV stick device?

I'm able to log in to the device using adb, have entered development menu, but cannot find anything.

What I need is to add a self-signed certificate to the device.


Solution

  • Got it. The gist:

    adb push charles-ssl-proxying-certificate.pem /storage/emulated/0/Download
    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"
    

    From https://developer.amazon.com/docs/fire-tv/network-proxy.html

    And I just replaced charles-ssl-proxying-certificate.pem above with my own certificate file; mycert.cer - yes, even the cer format works.