# Configuring an HTTPS connection with Talend Identity and Access Management

Securing the connection between Talend Data Preparation and Talend Identity and Access Management requires editing their corresponding configuration files.

You will first need to configure Talend Identity and Access Management as a service in HTTPS. Then, you will enable SSL communication between Talend Data Preparation and Talend Identity and Access Management 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-linux/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 Identity and Access Management has been configured as a service in HTTPS. For more information, see [Securing connections for Talend Identity and Access Management](https://help.qlik.com/talend/en-US/installation-guide-linux/8.0/securing-connections-for-talend-identity-and-access-management "Use SSL with self-signed certificate to connect to Talend Identity and Access Management.").
* You have generated a certificate for Talend Data Preparation and Talend Identity and Access Management, and added it to your Web browser truststore.
* Make sure that you have the latest Apache Tomcat version installed.

## Procedure

1. To enable SSL to access the Talend Identity and Access Management server, add the following lines to the &lt;TDP\_installation\_path&gt;/dataprep/start.bat file if you are using Windows, or the &lt;TDP\_installation\_path&gt;/dataprep/start.sh file if your are using Linux.
   ```
   -Djavax.net.ssl.trustStore=/path/to/<trust-store.jks>
   -Djavax.net.ssl.trustStorePassword=<trust-store password>
   ```
2. To enable SSL communication between Talend Data Preparation and Talend Identity and Access Management running in HTTPS, retrieve the Talend Identity and Access Management 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;IAM\_certificate.crt&gt; -keystore &lt;truststore.jks&gt;
3. 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
   ```
4. Restart the services.

## Results

Your Talend Data Preparation instance running in HTTPS can now communicate with Talend Identity and Access Management, also running with a secured HTTPS connection.