/
Changing the Hostname
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 theHostName
property as shown below.<HostName>node1.analytics.com</HostName>
Open
DAS_Home/repository/deployment/server/jaggeryapps/portal/configs/designer.json
and change thehostname
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
, multiple selections available,
Related content
Changing the Host Name
Changing the Host Name
More like this
Changing the Host Name
Changing the Host Name
More like this
Exposing WSO2 DAS with Host Names
Exposing WSO2 DAS with Host Names
More like this
Exposing WSO2 DAS with Host Names
Exposing WSO2 DAS with Host Names
More like this
Exposing WSO2 DAS with Host Names
Exposing WSO2 DAS with Host Names
More like this
Changing the Hostname
Changing the Hostname
More like this
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.