Making changes to the JSSE keystore or truststore in IBM MQ classes for Java

If you change the JSSE keystore or truststore, you must perform certain actions for the changes to take effect.

If you change the contents of the JSSE keystore or truststore, or change the location of the keystore or truststore file, IBM® MQ classes for Java applications that are running at the time do not automatically pick up the changes. For the changes to take effect, the following actions must be performed:
  • The applications must close all their connections, and destroy any unused connections in connection pools.
  • If your JSSE provider caches information from the keystore and truststore, this information must be refreshed.
After these actions have been performed, the applications can then re-create their connections.

Depending on how you design your applications, and on the function provided by your JSSE provider, it might be possible to perform these actions without stopping and restarting your applications. However, stopping and restarting the applications might be the simplest solution.