OTA Mobileconfig encryption

Hello,

I am currently trying to set a up a system where we can configure iPhone's with a mobileconfig file OTA. I am able to successfully do this with plaintext and signed mobileconfigs but the issue that I am running into is that I would like to encrypt the mobileconfig file before sending it to the user. I need a way to do this on the fly as there are too many devices to generate encrypted configuration profiles for all of them before hand.

Thanks.

MacBook, iOS 4

Posted on Jul 14, 2010 8:14 AM

Reply
5 replies

Oct 14, 2010 2:54 PM in response to sumone4life

use openssl and encrypt the payload section of your plain text mobileconfig file.
create a new mobileconfig file the same as before but with an<key>EncryptedPayloadContent</key> section in place of the <key>PayloadContent</key>
then place your encrypted data between <data> Encrypted stuff here </data> tags

Load the certificate on devices with a separate profile

then you can get your encrypted profile on the device through safari / SMS or Email

May 12, 2011 11:07 AM in response to orchieboy

What did you mean by saying "encrypt the payload section of your plain text mobileconfig file."

Should I take the PayloadContent section as is and just encrypt it ?


Example:


<plist version="1.0">

<dict>

<key>PayloadContent</key>

<array>

<dict>.....</dict>

<dict>.....</dict>

</array>

<key>.....</key>

<string>....</string>

</dict>

</plist>


Should I encrypt the following string ?

"<array>

<dict>.....</dict>

<dict>.....</dict>

</array>"



Thank you,

Max

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

OTA Mobileconfig encryption

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