yong ho
yong ho

Reputation: 4032

How to use installed SSL certificate to secure iOS app?

I am trying to secure a iOS app by checking the installed SSL certificate exists or not. First I created a self-signed certificate with OpenSSL, and then install it to my iPhone. Right now I need to programmatically check this certificate is installed or not. If it exists, the app can run without limit, if not, use won't be able to use the app. So how to programmatically check this device is installed or not in my app code?

Why do we need to install SSL certificate on our iOS devices?

Upvotes: 0

Views: 303

Answers (1)

TacosLayer
TacosLayer

Reputation: 41

Users can install digital identities (certificates plus their associated private keys) onto their iOS devices by downloading them from within Safari, by opening them as email attachments, and by installing them with configuration profiles. Or, identities can be pushed from a Mobile Device Management (MDM) server. However, identities installed in any of these ways are added to the Apple keychain access group.

Refer below links for more info.

https://forums.developer.apple.com/thread/52345 https://developer.apple.com/library/archive/qa/qa1745/_index.html

Upvotes: 1

Related Questions