Skip to content

Commit

Permalink
HBASE-28649 Wrong properties are used to set up SSL for REST Client K…
Browse files Browse the repository at this point in the history
…erberos authenticator (#5975)

Signed-off-by: Ankit Singhal <[email protected]>
(cherry picked from commit c5d3f65)
  • Loading branch information
stoty committed Jun 11, 2024
1 parent 1230f53 commit 2e927c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ private Configuration setupTrustStoreForHadoop(KeyStore trustStore)

Configuration sslConf = new Configuration();
// Type is the Java default, we use the same JVM to read this back
sslConf.set("ssl.client.keystore.location", trustStoreFile.getAbsolutePath());
sslConf.set("ssl.client.keystore.password", password);
sslConf.set("ssl.client.truststore.location", trustStoreFile.getAbsolutePath());
sslConf.set("ssl.client.truststore.password", password);
return sslConf;
}

Expand Down

0 comments on commit 2e927c8

Please sign in to comment.