+1 on this topic guys. Any help wrt getting https calls to show in Charles is much appreciated.
Here is what our test setup looks like-
- A mac with ethernet in connected and wifi sharing enabled.
- Charles proxy running on the mac.
- A roku device connected to the mac's hotspot.
- Following rules added to NAT table so that traffic is redirected to Charles:
rdr on bridge100 inet proto tcp from 192.168.2.0/24 to any port = 80 -> 127.0.0.1 port 8888
rdr on bridge100 inet proto tcp from 192.168.2.0/24 to any port = 443 -> 127.0.0.1 port 8888
If the app does not have the Charles certificate, the https calls just fail. So we have to comment out the entry for redirecting port 443 traffic.
I am wondering how can we install the Charles certificate on the Roku device itself (like on iOS/Android), so that any app using https on that roku will trust the certificate and we can see its traffic in Charles.