Charles Proxy capture tvOS 10.2?

2.5k Views Asked by At

Up until recently, I've been successful using Apple Configurator 2 to load a profile onto an Apple TV that had the IP address of the Mac running charles (and connected via usb), and the Charles.cer certificate. This allowed me to capture Charles logs of apps running on the Apple TV.

I suspect the recent tvOS 10.2 release is the culprit, but this approach no longer works, and I'm unable to load profiles.

Anyone in StackOverflow-land been successful in capturing Charles logs in tvOS 10.2?

3

There are 3 best solutions below

6
legege On BEST ANSWER

These type of profiles are now "Supervised devices" only. If you look at the device console, you'll see these lines:

Apple-TV profiled[146] <Notice>: Installation failed. Error: NSError:
Desc   : Profile Installation Failed
Sugg   : This profile can only be installed on a Supervised device.

UPDATE To make a device "supervised", you need to use Apple Configurator 2 version 2.4+. Please be aware that this is NOT an update to Apple Configurator 2 version 2.2, it's a separate download on the AppStore... You can now upload the profile that contains Global HTTP Proxy and Trusted Certificate.

1
user3167223 On

According the Charles Proxy page for setting up SSL Certificates:

As of tvOS 10.2 it is no longer possible to trust the Charles Root Certificate, so it is not possible to use SSL Proxying with tvOS 10.2. This appears to be because the Certificate Trust Settings menu is not available (see iOS devices above). A bug has been filed with Apple and we hope that this will be resolved in the future.

2
monowerker On

In tvOS 11.4.1 I found Certificate Trust Settings in Settings > About