The APNS certificate cannot be used as an SSL certificate.
For SSL, you must either obtain a SSL certificate from a known, trusted Certificate Authority (i.e. Verisign, Entrust, etc.) or you can use your own self-signed CA to generate the SSL certificate.
You are likely receiving the "Profile Failed to Install" error due to the fact that a valid SSL certificate isn't being used for communication to the Afaria Server.