Symptom
Event Processing flows that consume from TLS-secured endpoints stop working with the following error:
org.apache.kafka.common.errors.SslAuthenticationException: SSL handshake failed
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Causes
The certificates that are on the endpoint might change compared to the certificates stored in Event Processing, which causes issues when running the flow.
Resolving the problem
Use the Event Source wizard to replace the certificate stored in Event Processing and restart the flow as follows:
- Click your flow in the Event Processing UI.
- Stop the flow.
- Hover over the source node and click Edit. The Configure event source window is displayed.
- Accept the new certificates and complete the wizard steps.
- Restart your Event Processing flow. In the navigation banner, expand Run flow and select either Events from now or Include historical to run your flow.