Support Questions

Find answers, ask questions, and share your expertise

"putelasticsearchhttp" javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

avatar
Explorer

 

Dear Experts,

I want to transfer data from NiFi to Elasticsearch using the PutElasticsearchHTTP processor. However, I am encountering the error "javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target" The setup, which I have depicted in the image below, was working previously. How should I resolve this problem?

Regards

putelk.pngputelasticsearchhttp.png

1 REPLY 1

avatar

@Arash This error is indicating an issue with your SSL Context Service "SSL Service for elasticsearch cluster".  If this was previously working, perhaps the SSL cert has changed?  You should check if the elasticsearch cert has been renewed, and if so, update the keystores/truststores accordingly and test again.