The P2 repository contains the feature list required to enable iOS.
If you are on a Windows OS, be sure to point the
-Dcarbon.home property in the product's startup script (
wso2server.bat) to the product's distribution home (e.g.,
2.2.0). Alternatively, you can also set the
carbon.home as a system property in Windows. Then, restart the server. Without this setting, you might not be able to install features through the management console.
Where do I get the P2 repository from?
After you obtained the signed CSR and submitted it, the WSO2 Account Managers will evaluate the CSR file you submitted. Once the evaluation process is complete, you will receive an email with the following:
- WSO2 MDM Connector for iOS
This contains the P2 repository with the iOS features, End User License Agreement (EULA) and the README.txt.
README.txtincludes the installation instructions and the URL to the
cdmf-agent-iosrepository, which contains the agent source code.
- The signed CSR file in the .plst format
If you failed the evaluation process or have your own signed certificate, fill the Contact Us form, select IoT as the area of interest, and request for the P2 repository for EMM 220, which is needed to configure WSO2 IoT Server for iOS.
Follow the instruction below to install the iOS features via the P2 repository you received via email:
Access the Management Console.Click here for more information.
- Click Features on the Configure tab.
- Click Add Repository that is on the Repository Management tab to add the repository to the server.
- Fill out the Add Repository form and click Add.
Enter a preferred name for the repository as the Name.
Select the Location.
If the local option is selected for location, you need to provide the path to the current working directory.
Follow the steps below to retrieve the path:
p2-repo.zipfile you received via email when obtaining the CSR file and navigate to the respective directory.
Retrieve the output path of the current working directory.
Click the Available Features tab and select the respective repository, and click Find Features.
If the Group features by category is selected by default, deselect it before checking for the available features.
- Select the feature and click Install.
- Click Next.
Accept the license agreement and click Next to install the features.
Once the features are successfully installed, you will be prompted to click Restart Now and Restart Later.
Until you complete step 10 and 11 don't click Restart Now.
Update the following parameters in the
.xmlfile, which is in the
Enter the server IP or the server domain name for the following parameters:
APNSBasedPushNotificationProviderthat is under the
PushNotificationProvidersconfiguration in the
- Go back to the EMM Management console and click Restart Now.
Next, you need to configure the general iOS server settings.