# Using SSL encryption

Complete the following steps to set up SSL connections for the PDI client and the Pentaho Server:

1. Set up SSL security by enabling SSL in the Pentaho Server with a certificate authority.

   See **Administer Pentaho Data Integration and Analytics** document for details.
2. Import your certificate to the Java keystore on the machine where the PDI client is installed. If the Pentaho Server is installed on a different machine, import the certificate to the Java keystore on that machine.
3. At the following prompts, enter a new password and enter `Y`:

   ```
   Enter keystore password: 
   Trust this certificate?
   ```

The certificate is now trusted by the PDI client and the Pentaho Server.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pentaho.com/install/9.3-install/pentaho-configuration/tasks-to-be-performed-by-an-it-administrator/set-up-the-adaptive-execution-layer-ael/advanced-topics/configuring-ael-with-spark-in-a-secure-cluster/using-ssl-encryption.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
