Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on
06-26-2022
11:34 PM
- last edited on
04-21-2026
12:54 AM
by
GrazittiAPI
Hi,
Please, kindly help.
Use Case:
Minifi should send logs to a Secured 3 Nodes Nifi Cluster;
Method:
I am trying to generate client certificate on one of the Nifi nodes(https://masternode:9443)to use for minifi configuration file.
I ran this command:
./tls-toolkit.sh client -c masternode -D 'CN=nifiadmin, OU=NIFI' -C /tmp/minifi/ -t nifinifinifinifi
ERROR:
tls-toolkit.sh: JAVA_HOME not set; results may vary
[main] INFO org.apache.nifi.toolkit.tls.service.client.TlsCertificateAuthorityClient - Requesting new certificate from masternode:9443
[main] INFO org.apache.nifi.toolkit.tls.service.client.TlsCertificateSigningRequestPerformer - Requesting certificate with dn CN=nifiadmin,OU=NIFI from masternode:9443
Service client error: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Thank you.
Created 06-28-2022 09:43 PM
I finally got it.
I copied one of the standalone truststore.jks & keystore.jks i generated for the server nodes. Then pasted into the conf folder of the Minifi. Also, i updated the yml file with the password( the one i used when generating the certificate) & the path to the truststore.jks & keystore.jks.
So, everything works perfectly.
Thank you.
Created 06-28-2022 09:43 PM
I finally got it.
I copied one of the standalone truststore.jks & keystore.jks i generated for the server nodes. Then pasted into the conf folder of the Minifi. Also, i updated the yml file with the password( the one i used when generating the certificate) & the path to the truststore.jks & keystore.jks.
So, everything works perfectly.
Thank you.
Created 06-29-2022 04:58 AM
Congratulations on resolving your issue and thank you for sharing so it may be of assistance to others.