I had a PutSplunkHTTP 1.18.0 processor (https) working just fine and then I
upgraded to 1.19.1.
I started to get "PKIX path building failed - unable to find valid
certification path to requested target errors".
NiFi properties is set to use a custom truststore.jks file. First I
updated my truststore.jks file to use the Splunk CA. Nothing changed. I
have never added the Splunk CA to my truststore and PutSplunkHTTP 1.18.0
was working.
I then updated my Linux hosts ca-trust with the CA that Splunk is using and
then started seeing "HTTPS hostname wrong: should be <hostname here> Error
during communication with Splunk: {}"
Installed the 1.18.0 Splunk nar and the PutSplunkHTTP processor is working
again with no changes to the processor.
System
NiFi Version 1.19.1
Java Version 11.0.16.1 (Amazon corretto)
CentOS 7 (5 node cluster)
Thanks,
Mike