# Kafka: Failed to load SSL keystore in MuleSoft: cause and fix

Source page: https://ipaaserrors.com/mulesoft/kafka-failed-to-load-ssl-keystore
Platform: MuleSoft · Apache Kafka Connector
Checked against vendor docs: 2026-11-30

This Kafka connector error means the configuration could not load the required truststore files from the classpath. Add the truststore files to the main application that uses the Kafka connector configuration.

## Error text

```
org.mule.runtime.api.connection.ConnectionException: Failed to load SSL keystore
```

## Likely causes

- The connector configuration fails to load the required truststore files from the classpath.

## How to fix it

1. Add the required truststore files to the main Mule application that uses the Kafka connector configuration.
2. Redeploy the application.

## Sources

- [Troubleshooting Apache Kafka Connector](https://docs.mulesoft.com/kafka-connector/latest/kafka-connector-troubleshooting)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/mulesoft/kafka-failed-to-load-ssl-keystore and the vendor documentation above.
