# Configuring an HTTPS connection with Talend Dictionary Service

Securing the connection between Talend Data Preparation and Talend Dictionary Service requires editing their corresponding configuration files.

You will first need to configure Talend Dictionary Service as a service in HTTPS. Then, you will enable SSL communication between Talend Data Preparation and Talend Dictionary Service running in HTTPS.

## Before you begin

* Talend Data Preparation has been configured as a service in HTTPS. For more information, see [Configuring an HTTPS connection for Talend Data Preparation](https://help.qlik.com/talend/en-US/installation-guide-windows/8.0/configuring-https-connection-for-talend-data-preparation "To set up an HTTPS secure connection between the different services, as well as with the MongoDB server, you need to edit the application.properties file.").
* Talend Dictionary Service has been configured as a service in HTTPS. For more information, see [Securing connections for Talend Dictionary Service](https://help.qlik.com/talend/en-US/installation-guide-windows/8.0/securing-connections-for-talend-dictionary-service).
* You have generated a certificate for Talend Data Preparation and Talend Dictionary Service, and added it to your Web browser truststore.

## Procedure

1. To enable SSL communication between Talend Data Preparation and Talend Dictionary Service running in HTTPS, retrieve the Talend Dictionary Service certificate, or its Certificate Authority, and add it to the Talend Data Preparation truststore using the following command:

   keytool -import -trustcacerts -alias &lt;cert-alias&gt; -file &lt;dictionary-service\_certificate.crt&gt; -keystore &lt;truststore.jks&gt;
2. In the &lt;Data\_Preparation\_Path&gt;/config/application.properties file, add the following properties to set the truststore:
   ```
   tls.trust-store=/path/to/<truststore.jks>
   tls.trust-store-password=<trust-store_password>

   false to disable hostname verification
   tls.verify-hostname=true
   ```
3. Restart the services.

## Results

Your Talend Data Preparation instance running in HTTPS can now communicate with Talend Dictionary Service, also running with a secured HTTPS connection.