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 620497d08ba7..5c89dea48e74 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 @@ 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; }