Objective: Connect source (nifi) and destination (nifi) via site-to-site over SSL (https - 9091 port)
Issue: NiFi Site to Site SSLHandShakeException PKIX path building failed - Missing TrustStore Certs
Root cause: Nifi truststores missing certificates of other Nifi
Steps Taken: 1. Run following command to get the list of Certificates in current Nifi TrustStore
keytool -v -list -keystore <trustStoreLocation>
2. If no certs that belong to target Nifi are found then we can proceed with installing the target Nifi cert 3. Run following command to get the target Nifi public certificate
4. Verify site-to-site connectivity by re-creating Remote Process Group
Note 1. Nifi truststore location is generally different from JDK location. Please update certs in appropriate location so NiFi can pick them 2. Target NiFi needs to provide appropriate permissions for the source NiFi user (DN is based on SSL Cert)