Branchis
Branchis

Reputation: 23

Retrieving data programmatically from a Configuration Profile in IOS

I have been searching all over the apple documentation, including these forums, yet was not able to retrieve a certificate from a configuration profile that I had created and installed on my iPhone.

More specifically: Using the iPhone Configuration Utility, I created a simple configuration profile that contains a certificate under the Credentials tab.

I am now trying to retrieve this certificate using my iPhone app but without any luck of coming across useful documentation/examples.

I know how to extract PKCS12 data - I just don't know where to find the certificate data to begin with. Is there a path to the certificate data or to an NSDictionary of configuration profile values?

Upvotes: 2

Views: 4250

Answers (1)

BillF
BillF

Reputation: 444

It seems it is not possible currently to read a profile. See https://devforums.apple.com/message/533356 (requires login).

Was looking for the same thing, to authenticate user as an enterprise employee.

Upvotes: 2

Related Questions