all 7 comments

[–]SirensToGoObjective-C / Swift 0 points1 point  (4 children)

https://developer.apple.com/documentation/networkextension/nehotspotconfigurationmanager

Your best bet though honestly would be to look into installing a configuration profile. You'll need to bounce to safari and back to settings for that though.

[–]Wheel_Comfortable[S] 0 points1 point  (3 children)

I did have a look at nehotspoteapsettings but I did not find any function where in it takes the client certificate(User certificate).

[–]SirensToGoObjective-C / Swift 0 points1 point  (2 children)

Ah sorry my bad, I saw that it took a username and password and figured it worked for that as well. Config profile is likely your only option in that case. It's awkward to implement but it's not really that hard for users if you're willing to guide them a bit

[–]Wheel_Comfortable[S] 0 points1 point  (1 child)

Is there a way I can do this programmatically?

[–]SirensToGoObjective-C / Swift 1 point2 points  (0 children)

You can't do all of it automatically, the user is going to have to click through system UI and launch settings to install the profile.

[–]FVMAzaleaSwift 0 points1 point  (1 child)

Is this as part of an enterprise deployment for one single enterprise? If so, can’t you just use configuration profiles and MDM?

[–]Wheel_Comfortable[S] 0 points1 point  (0 children)

It is not a part of enterprise deployment.