You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2024/06/11 04:10:21 UTC

(hbase) branch branch-3 updated: HBASE-28649 Wrong properties are used to set up SSL for REST Client Kerberos authenticator (#5975)

This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-3 by this push:
     new c3bb5dfb414 HBASE-28649 Wrong properties are used to set up SSL for REST Client Kerberos authenticator (#5975)
c3bb5dfb414 is described below

commit c3bb5dfb414ca4bc6141e8af7581b1cd8d12196a
Author: Istvan Toth <st...@apache.org>
AuthorDate: Tue Jun 11 06:08:18 2024 +0200

    HBASE-28649 Wrong properties are used to set up SSL for REST Client Kerberos authenticator (#5975)
    
    Signed-off-by: Ankit Singhal <an...@apache.org>
    (cherry picked from commit c5d3f652f25ada20e741b693d6a5c3559de861d7)
---
 .../src/main/java/org/apache/hadoop/hbase/rest/client/Client.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java
index 620497d08ba..5c89dea48e7 100644
--- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java
+++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/client/Client.java
@@ -523,8 +523,8 @@ public class Client {
 
     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;
   }