com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Changing the Hostname
The following procedure explains how to change the hostname of DAS as required for your production environment. In this example, the hostname needs to be changed to node1.analytics.com
.
Open theÂ
<DAS_HOME>/repository/conf/carbon.xml
file and set theÂHostName
 property as shown below.<HostName>node1.analytics.com</HostName>
OpenÂ
DAS_Home/repository/deployment/server/jaggeryapps/portal/configs/designer.json
 and change theÂhostname
 to the actual hostname of WSO2 IS Analytics.Â}, "host": { "hostname": "localhost", "port": "", "protocol": "" }
This step avoids the host verification errors that can occur when another WSO2 product publishes statistics in WSO2 DAS.
- Generate a key store by following the sub steps given below.
- Open a terminal and issue the following command to generate a key store.
keytool -genkey -alias node1.analytics.com -keyalg RSA -keystore analyticsnode1.jks -keysize 2048
- Specify a preferred KeyStore password once prompted.
- Specify a preferred Key password once prompted.
- Enter the first name and last name as
*.node1.analytics.com
 once prompted. - Enter values for the other parameters as required.Â
 node1.analytics.com
 as the CN. - Open a terminal and issue the following command to generate a key store.
- Copy the generated self-signed key store (i.e.,Â
analyticsnode1.jks
) to theÂ<DAS_HOME>/repository/resources/security
 directory. - Export the public certificate from the keystore and import that certificate to the clientÂ-truststore.jks file following the steps given below.
- Navigate to theÂ
<DAS_HOME>/repository/resources/security
 directory. - Issue the following command to export the public certificate from the primary key store
keytool -export -alias node1.analytics.com -file node1.analytics.com -keystore analyticsnode1.jks -storepass <keystore_password_given_above>Â
- Issue the following command to import the certificate to the
clientÂ-truststore.jks
file.keytool -import -alias node1.analytics.com -file node1.analytics.com -keystore client-truststore.jks -storepass wso2carbonÂ
- Navigate to theÂ
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.