Skip to content

Commit

Permalink
MySQL: Allow public key retrieval (#5909)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Feb 19, 2020
1 parent d9e59c2 commit 4dfedcd
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ public boolean openDatabase() {
.setUser(user.getValue())
.setPassword(password.getValue())
.setUseSSL(useSSL.getValue())
// Authorize client to retrieve RSA server public key when serverRsaPublicKeyFile is not set (for sha256_password and caching_sha2_password authentication password)
.setAllowPublicKeyRetrieval(true)
.setKeyStore(keystore.getValue())
.setServerTimezone(serverTimezone.getValue())
.createDBMSConnectionProperties();
Expand Down

0 comments on commit 4dfedcd

Please sign in to comment.