Apple Configuration and invalid profile
Most likely you are trying to apply a setting that isn't supported on the AppleTV 2.  I'd start with the typical troubleshooting of start simple and then add more.

So, create the profile with only the General section configured and apply it.  If that works, move on to another section.  Repeat until it stops working.

Some items to look into are


The encryption of the certificate.  If it is the wrong size or type, it might not be supported on the ATV2.  The device probably can't support the latest encryption methods.
Perhaps the PEAP authentication protocol you have selected in the WiFi section isn't supported, so try TLS.


Good luck.