Skip to content

Commit

Permalink
[CONJ-670] creating SSLContext each time to permit trustStore / keySt…
Browse files Browse the repository at this point in the history
…ore changed dynamically

(cherry picked from commit af75571)
  • Loading branch information
rusher committed Feb 5, 2019
1 parent f5df478 commit 5ca80aa
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -341,12 +341,6 @@ public void removeHasMoreResults() {
}

private SSLSocketFactory getSslSocketFactory() throws SQLException {
if (!options.trustServerCertificate
&& options.serverSslCert == null
&& options.trustStore == null
&& options.keyStore == null) {
return (SSLSocketFactory) SSLSocketFactory.getDefault();
}

TrustManager[] trustManager = null;
KeyManager[] keyManager = null;
Expand Down

0 comments on commit 5ca80aa

Please sign in to comment.