Retrieving data programmatically in a Configuration Profile from IOS (Settings->General->Profiles & Device Management)

I have a p12 file, I installed it into device (it is located in Settings -> General -> Profiles & Device Management -> Configuration profile).

I want to retrieve data programmatcially into my app.

The p12 file is an user credential for internet authentication.

Accepted Reply

i think it should be for general App store users.

I have a bunch of suggestions related to managed environments. I’ve posted some pointers over on your other thread.

These are not appropriate for general users. IMO you should not be encouraging general users to monkey with configuration profiles. Rather, implement your own in-app UI for importing PKCS#12 data.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Replies

For background on this issue, see this post.

The p12 file is an user credential for internet authentication.

Is this for a managed environment? Or for general App Store users?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

ps DTS is closed 21 Dec through 1 Jan.

Eskimo, thanks for your feedback.
For your question, i think it should be for general App store users.


I want add some more info for this issue.

The p12 file is for handle NSURLAuthenticationMethodClientCertificate, and now I can extract p12 located in NSBundle programmatically.

But no idea how to retrieve data if p12 file is installed in configuration profile.


Thans for your time.

i think it should be for general App store users.

I have a bunch of suggestions related to managed environments. I’ve posted some pointers over on your other thread.

These are not appropriate for general users. IMO you should not be encouraging general users to monkey with configuration profiles. Rather, implement your own in-app UI for importing PKCS#12 data.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"