I am trying to connect a single instance of the NiFi registry with three separate secure NiFi environments (Lab, Dev, Prod). At the moment, I am only able to connect the registry to one NiFi environment at a time when I have the registry share the same truststore.jks and keystore.jks file.
The error I get from the other secure NiFi environments is this:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Is there a way to get around this road block in order to connect the registry to multiple environments?