This section contains information on how to secure connections for Talend Data Stewardship and how to configure the application logs.
To secure connections between Talend Data Stewardship, the MongoDB server and Apache Kafka, you need to edit the application.properties file.
Note that securing the MongoDB connection is not possible if you select the embedded MongoDB instance during the installation process. If you want to secure connections with MongoDB using SSL, MongoDB Enterprise Server has to be manually installed on your machine. For more information, see https://docs.mongodb.com/v3.2/security/.
Open the <Data_Stewardship_Path>/config/data-stewardship.properties file.
To trust the server certificate used by Talend Data Stewardship, edit the following lines:
By default, Talend Data Stewardship will not verify that the hostname matches the certificate common name.
To enable this verification, change the value of the following field to true:
To allow Talend Data Stewardship to use private key authentication, edit the following lines:
http.ssl.keystore.location=<path_to_keystore> http.ssl.keystore.password=<keystore_password> http.ssl.key.password=<key_password>
To secure connections with MongoDB, edit the following lines:
spring.data.mongodb.ssl=true spring.data.mongodb.ssl.trust-store=<path_to_truststore> spring.data.mongodb.ssl.trust-store-password=<truststore_password>
To secure connections with Kafka using communication encryption only, edit the following lines:
kafka.security.protocol=SSL kafka.ssl.truststore.location=<path_to_truststore> kafka.ssl.truststore.password=<truststore_password>
To secure connections with Kafka using authentication, edit the following lines:
kafka.ssl.keystore.location=<path_to_keystore> kafka.ssl.keystore.password=<keystore_password> kafka.ssl.key.password=<key_password>
Note that the communication encryption parameters must also be defined to use authentication.
Change the services URLs from
Talend Data Stewardship only supports the Java Key Store
.jks) format to store keys and certificates.
To enable HTTPS support on Tomcat, see https://tomcat.apache.org/tomcat-8.0-doc/ssl-howto.html.
To enable SSL support on MongoDB, see https://docs.mongodb.com/v3.0/tutorial/configure-ssl/.
To enable SSL support on Kafka, see http://kafka.apache.org/documentation.html#security_ssl.
Talend Data Stewardship logs allows you to analyze and debug the activity of Talend Data Stewardship.
Talend Data Stewardship logs are located in <Data_Stewardship_Path>/apache-tomcat/logs.
The catalina.out file is an aggregated version of all the available log files.
To configure the information level of your log files, proceed as follows:
Open the following files:
<Data_Stewardship_Path>/apache-tomcat/conf/data-stewardship-core-logback.xml for the core backend service log
<Data_Stewardship_Path>/apache-tomcat/conf/data-stewardship-history-logback.xml for the history service log
<Data_Stewardship_Path>/apache-tomcat/conf/data-stewardship-schema-logback.xml for the schemas management service log
Add the following line before the
<logger name="org.talend" level="DEBUG"/>.
The log information level is now set to
DEBUG, but you can set it to another value. For more information on log levels, see http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html.