Description
After some hair pulling, I realized that the truststore configuration and sslContextFactory creation in JettySSLService is not working properly. It is setting the gateway's identity store as the truststore whether there is a custom truststore configured or not.
This patch fixes that issue and allows for a separate truststore.
In the meantime, there is a workaround of adding trusted certs to the gateway.jks keystore or to cacerts for the gateway instance.