You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Proxy and user cert not working (Apple TV 4K)

My Apple TV 4K is behind a proxy, which intercepts SSL traffic.


I've created a profile using Apple Configurator 2, where I've added WiFi SSID + password, as well as proxy settings and user CA for the proxy.


Apple TV+ app is working fine, but most of the other apps don't. Eg, Netflix, Prime Video, Bally Sports, etc. I suspect they ignore either the proxy settings or the user CA.


I see there is "Global HTTP Proxy" setting, but it requires Apple TV to be in supervised mode. So, before I go ahead and reset my Apple TV to factory settings and try to figure out how to switch it to supervised mode, I wanted to ask:


  1. Will this enforce proxy/CA settings globally for all apps?
  2. Is there another way to make all apps honor the proxy/CA settings?


Thank you.


D-mo


Apple TV 4K, tvOS 14

Posted on Feb 4, 2022 2:45 PM

Reply

Similar questions

5 replies

Feb 8, 2022 1:35 AM in response to dimitry_ishenko

Hi Dimitry,

I found something interesting in Apple Developer support regarding adding a root certificate to AppleTV. They want to add a private CA root(and possibly intermediate) to AppleTV. Note, this is simulator and developer. How much is usable for public version is ??


The TVOS 15 trust store has the obvious well known public CAs, digicert. Godaddy, an Apple root etc. What about Adding the root and intermediate(if applicable) of your private CA to AppleTV? Maybe that’ll make the AppleTV<~>Proxy HTTPS comms much happier?


Installing custom root certificates in AppleTV: https://developer.apple.com/forums/thread/696926


Feb 5, 2022 6:29 PM in response to dimitry_ishenko

Hi Dimitry, (disclaimer, I work with private CAs, self signed certs, public issued signed certs -- but little with Proxies)


-Host(AppleTV)<->Proxy<->Far End -- all using HTTPs. One cert validation process from Host to Proxy, another cert validation process Proxy to Far End.

-It is working from Host <-> Proxy <-> Far End AppleTV+(and certain other app servers). This tells me the client(Host)<->Proxy segment must be validating server identity and client identify (successful cert validation/no HTTPS exception error).


This suggests to me the issue is Proxy-<->Far End. But why would it be working with some and not with others (presumably everything is using HTTPS).

-Proxies can filter by IP/domain. Could ti be filtering/blocking to whatever (for example Netflix servers) the IP address of the servers?

-Proxies, I believe, can filter by port. Any chance there is a port range being blocked?

-Allow/Deny lists in place anywhere?

-Some servers(services) don't like traffic from Proxies. Unlikely but worth a check.

-Hard to see this being a Proxy<->Far End certificate issue. Presumably the Proxy would have the root/intermediate of every well known public CA (such as GoDaddy) as evidenced by AppleTV+ servers (and others) validating cert/HTTPS is good.


If you take the Proxy out, all the AppleTV apps work properly?

Feb 6, 2022 7:11 AM in response to Tim_4_All

Thanks Tim for your detailed analysis. Here are a few more pieces of info:


1. I've tested several laptops using the browser and everything works fine going through the proxy. I can access all the aforementioned sites. So, IMHO this eliminates Proxy<->Far Side being the problem.


2. AFAIK most of the stuff goes via HTTPS. I've checked certs for a few sites and they were all signed by the proxy.


3. Apple TV works fine without proxy.


4. I am experiencing similar problem with Amazon Fire TV stick. However, on Fire TV (with the same proxy/CA settings) I do get access to Prime Video, but can't get Apple TV+ to work. This is opposite to what I've experience with the Apple TV 4K (Apple TV+ works, but Prime video doesn't).


5. WARNING ANDROID-SPECIFIC INFO: I've pulled and decompiled the Apple TV+ app from the Fire TV stick (which is Android based) and found out that it does not honor user-installed CAs. This lead me to the conclusion that the same thing might be happening on the Apple TV 4K (but with the Prime Video app). Hence my questions in the original post.

Feb 6, 2022 5:58 PM in response to dimitry_ishenko

Good call on decompiling the open source to see that a private CA is not honored. But then why would AppleTV+ on AppleTV box work at all? If I'm following this correctly -- maybe not -- in theory the AppleTV box based AppleTV+ app shouldn't work at all if it is behind a Proxy (AppleTV+ would always be confronted with the private CA issued cert on the Proxy). But it is with some apps/far end servers.


On the PC behind the Proxy you used for testing, what about loading the apps (AppleTV+, Prime)? The apps seem likely to be using different ports if not some sort of differentiation in SSL validation. Ideally one won't work. Then you can run Wireshark on the PC and get a pcap (you may be able to do that with both hosts being remote, but in your LAN. If you can I haven't done that). That'll at least tell you where it is stopping/retransmitting without success.


If they all work then you can eliminate the apps themselves and pretty much say the issue lives AppleTV box/TVOS <-> Proxy and with specific apps Maybe Apple and Amazon are putting in their apps a unique validation process? That's a tough one. If nothing else I'd run over the settings in the Proxy. I've run into a small check box in a mundane menu setting making it all work. .

Proxy and user cert not working (Apple TV 4K)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.