All docs
This doc
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.
keytool -genkey -alias node1.analytics.com -keyalg RSA -keystore analyticsnode1.jks -keysize 2048
*.node1.analytics.com
once prompted. node1.analytics.com
as the CN.analyticsnode1.jks
) to the <DAS_HOME>/repository/resources/security
directory.<DAS_HOME>/repository/resources/security
directory.keytool -export -alias node1.analytics.com -file node1.analytics.com -keystore analyticsnode1.jks -storepass <keystore_password_given_above>
client-truststore.jks
file.keytool -import -alias node1.analytics.com -file node1.analytics.com -keystore client-truststore.jks -storepass wso2carbon