Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tip
titleBefore you begin!
  1. Add the WSO2 EMM solution to the DEP protalportal.
  2. Configure WSO2 IoT Server with the iOS configurations.
  3. If you have not already installed OpenSSL, download download and install OpenSSL .
    Linux OS's have OpenSSL installed by default.

Follow the steps given below to link WSO2 IoT Server's EMM solution with the Apple DEP:

Excerpt
  1. Navigate to the folder where you saved the Apple server token you downloaded when Adding the WSO2 EMM Solution to the DEP Portal

...

  1.  via the terminal.

  2. Decrypt the

...

  1. server token using the command given below:

    Code Block
    openssl smime -decrypt -in "<THE-.PM7-TOKEN-SERVER-FILE-NAME>.pm7" -inkey "dep_private.key" > token.json

    You see

...

  1. the token.json

...

  1.  file created in the same directory.

  2. Start WSO2 IoT Server's core profile.

    Code Block
    cd <IOTS_HOME>/bin
    ./iot-server.sh
  3. Sign in by entering the EMM administrators username and password. The default username

...

  1. is admin

...

  1.  and the default password

...

  1. is admin.
  2. Click the Image Modified

...

  1.  icon > CONFIGURATION MANAGEMENT > PLATFORM CONFIGURATIONS > iOS Configurations.
  2. Scroll

...

  1. down until you come to DEP only configurations.
    Image Modified
  2. Update the DEP related details:

    Agent App ID

    You are able to enroll and iOS device with WSO2 IoT Server's EMM solution, with or without the agent.

    • If you are not using the agent, you can leave this section blank.

    • If you are using the agent, follow the steps given below:

      Tip
      titleBefore you begin!
      1. Configure WSO2 IoT Server to install iOS mobile applications:
          1. Open the <IOTS_HOME>/conf/app-manager.xml file.
          2. Add %https% as the value for the AppDownloadURLHost property.


            Code Block
            <Config name="AppDownloadURLHost">%https%</Config>
      2. Download the iOS agent source code.
        For more information on the agent version related to the IoT Server version you are using, see WSO2 IoT Server and Agent Compatibility.
      3. Build and export the project as an iOS application using Xcode. This will generate an ipa file.
      4. Sign in to WSO2 IoT Server's App Publisher console: https://<IOTS_SERVER_HOST>:9443/publisher.
        The default username is admin and the

...

...

      1. generated.
      2. Once the application is created, click on the application.
      3. Note down the App ID from the URL.
        Example: https://172.20.10.12:9443/publisher/asset/mobileapp/667026af-2ed4-426f-95c3-246a5707db66
      4. Enter the App ID as the value for Agent App ID.
    Consumer KeyOpen the token.json file you just generated and enter the value given for the consumer_key here.
    Consumer SecretEnter the value given for the consumer_secret in the token.json file.
    Access TokenEnter the value given for access_token in the token.json file.
    Access SecretEnter the value given for access_secret in the token.json file, here.
    Access Token ExpiryEnter the value given for access_token_expiry in the token.json file, here.

...

  1. Click Save.

What's next?

  • Configure the profile settings

...