com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Generating an APNS Certificate

Follow the instructions below to generate an Apple Push Notification Service (APNS) certificate:

  1. Click on the Launchpad on your Mac.
  2. Search for Keychain Access and open it.
     
  3. On the Keychain Access menu, navigate to Certificate Assistant and click Request a Certificate from a Certificate Authority…. 
  4. Enter your email address and the common name. The common name will reflect the name of the certificate.
  5. Select the Save to disk option.
  6. Click Continue to save the private key. 
     
  7. Click Keys in the Keychain window, which appears under the Category section.
  8. Right click on the newly created key and click on Export.
  9. Enter a name for the certificate and select the destination it needs to be saved to.
  10. Select .p12 as the file format.
  11. Click Save and provide a password of your choice.
  12. Rename the private key file extension from P12 to PFX.
  13. Edit the following properties in the mdm-config.xml file that is found in the <PRODUCT_HOME>/repository/conf/ directory:

    • <ios-apns-cert-path> enter the absolute path for the APNSCert.pfx certificate created above.

    • <ios-apns-cert-password> enter the password provided in step 8 when you exported the newly created key.
    • <ios-apns-production-mode> Update the production mode property as required. If the production mode property is,

      • True - the iOS APNS will operate in production mode. This mode is used for production purposes.

      • False - the iOS APNS will operate in sandbox mode. This mode is used for testing purposes.

    For example:

    <ios-apns-cert-path>/home/wso2/EMM/Certificates/APNSCert.pfx</ios-apns-cert-path>
    <ios-apns-cert-password>wso2carbon</ios-apns-cert-password>
    <ios-apns-production-mode>true</ios-apns-production-mode>
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.