Configuration for WSO2 API Manager
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Configuration for WSO2 API Manager

Follow the instructions below to configure the WSO2 Microgateway Toolkit and the WSO2 Microgateway Runtime in order to use it with WSO2 API Manager. The WSO2 Microgateway 3.1.0 supports WSO2 API Manager versions, 2.6.0 onwards (2.6.0, 3.0.0 and 3.1.0). 

Configuring the Microgateway 3.1.x Toolkit

Configuring the Microgateway 3.1.x Runtime

  1. Add the public certificate of WSO2 API Manager to the trust store.

    Export public certificate of WSO2 API Manager.
    A sample command is given below.

    keytool -export -alias wso2carbon -file wso2carbon.crt -keystore <API-M_HOME>/repository/resources/security/wso2carbon.jks

    Import the certificate using the command given below, to the trust store in the Microgateway runtime.

    keytool -import -trustcacerts -alias wso2carbon2 -file wso2carbon.crt -keystore <MGW_RUNTIME_HOME>/runtime/bre/security/ballerinaTruststore.p12
  2. Open the <MGW_RUNTIME_HOME>/conf/micro-gw.conf file. Add the alias (e.g. wso2carbon2) to the truststore to corresponding configurations.
    For example, to configure the JWT authentication for API Manager JWTs, add the following JWT issuer configuration to the micro-gw.conf.

    [[jwtTokenConfig]] issuer="https://localhost:9443/oauth2/token" audience="http://org.wso2.apimgt/gateway" certificateAlias="wso2carbon2" validateSubscription = false

           You can now successfully invoke APIs through the Microgateway using the JWT tokens issued by WSO2 API Manager.

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