Updating the keyStore Dynamically
You can enhance MyX509TrustManager to handle dynamic
keystore updates. When a checkClientTrusted or checkServerTrusted test
fails and does not establish a trusted certificate chain, you can
add the required trusted certificate to the keystore. You need to
create a new ibmX509TrustManager from the TrustManagerFactory initialized
with the updated keystore. When you establish a new connection (using
the previously initialized SSLContext), the newly
added certificate will be called to make the trust decisions.