Michael -
My understanding of setKeyAndChain’s scope is it’s limited to the current Flow. It doesn’t affect other service threads or subsequent HTTP calls. There’s also clearKeyAndChain, if you want to explicitly revert to the default keystore before ending the Flow service.
That’s a good question. Based on the name of the service (i.e., “set key and [the key’s CA] chain”), I suspect IS default truststore operation is unaffected.
In other words, what you’re changing is the client key used for X.509 client authentication. Whether IS trusts the server certificate presented by the remote SSL server is still decided by the default IS truststore and/or relevant IS settings (such as ones to trust CAs by default, or ignore expired certificates)
#Integration-Server-and-ESB#webMethods#Flow-and-Java-services