My app create VPN profile programmatically for user but connection fail each time.
I can solved this problem doing next:
I am create file .mobileconfig using AppleConfigurator and create "Certificate 2 Payloads Configured" inside this file I put file .p12 and set password for this file and file .cer.
When user install this profile only after this operation VPN connection would be establish.
Inside app I am use file .p12 for NEVPNManager( use NEVPNProtocolIKEv2 ).
How I can install file .cer programmatically inside app or need install something else?
Which advice are you can give in this situation?
I can solved this problem doing next:
I am create file .mobileconfig using AppleConfigurator and create "Certificate 2 Payloads Configured" inside this file I put file .p12 and set password for this file and file .cer.
When user install this profile only after this operation VPN connection would be establish.
Inside app I am use file .p12 for NEVPNManager( use NEVPNProtocolIKEv2 ).
How I can install file .cer programmatically inside app or need install something else?
Which advice are you can give in this situation?