When you install Endeca Server, the default option is to use SSL to secure it. To connect to a secured Endeca Server, you copy the Endeca Server certificate files to Studio. In the Studio data source configuration, you then include the certificate file names and passwords.
Note that if you have already copied over the Endeca Server truststore and keystore files as part of configuring the connection to the Provisioning Service, then you can skip to step 5.
To allow Studio data sources to be a secured Endeca Server:
For Endeca Server, $DOMAIN_HOME is the full path to the Endeca Server WebLogic domain.
If Studio was installed using the Tomcat bundle, the directory is endeca-portal/data/endeca-data-sources.
If Studio was installed on a standalone instance of Tomcat, without using the bundle, then you will need to create the endeca-portal/data/endeca-data-sources directory.
If Studio was installed on WebLogic Server, then the directory is the data\endeca-data-sources directory in the Liferay Home directory. By default, the Liferay Home directory is <WebLogicInstallDirectory>/user_projects/domains.
| Setting | Description |
|---|---|
| caFile | The name of the truststore file.
For the default secured Endeca Server configuration, the file is endecaServerTrustStore.ks. |
| caPassword | The password for the truststore file.
You need to obtain the password from whoever installed the Endeca Server and generated the certificates. Note that on the Data Source Definition dialog, once you save the data source, the value of caPassword is masked as ************. The value also is encrypted in the Studio database. When you edit the data source, you must re-type the actual password value before saving. Otherwise, Studio uses the masking asterisks as the password value. |
| certFile | The name of the keystore file.
For the default secured Endeca Server configuration, the file is endecaServerClientCert.ks. |
| certPassword | The password for the keystore file.
You need to obtain the password from whoever installed the Endeca Server and generated the certificates. Note that on the Data Source Definition dialog, once you save the data source, the value of certPassword is masked as ************. The value also is encrypted in the Studio database. When you edit the data source, you must re-type the actual password value before saving. Otherwise, Studio uses the masking asterisks as the password value. |
"sslConfig": {
"caFile":"endecaServerTrustStore.ks",
"caPassword":"************",
"certFile":"endecaServerClientCert.ks",
"certPassword":"************"
}
For details on using the Data Sources page to configure Studio data sources, see the Studio User's Guide.
{
"server":"server01.lab.acme.com",
"port":"7002",
"dataDomainName":"acmeDB",
"sslConfig": {
"caFile":"endecaServerTrustStore.ks",
"caPassword":"************",
"certFile":"endecaServerClientCert.ks",
"certPassword":"************"
}
"name":"High End Midwest Wines",
"description":"Transactions for Midwest wines priced over 25 dollars",
"baseFunctions": [
{
"class":"com.endeca.portal.data.functions.DataSourceFilter",
"filterString":"Regions='Midwest'"
},
{
"class":"com.endeca.portal.data.functions.RangeFilter",
"property":"P_Price",
"rangeOperator":"GTEQ",
"rangeType":"Decimal",
"value1": "25"
},
{
"class":"com.endeca.portal.data.functions.RefinementFilter",
"attributeValue":"1999",
"attributeKey":"Year"
}
]
}