Allow keystore/trust-store to be existing KeyStore instance.