From f2d05befad075f2b524ed6303cc782325dc361d6 Mon Sep 17 00:00:00 2001 From: stack Date: Sun, 12 Oct 2014 18:25:56 -0700 Subject: [PATCH] HBASE-11890 HBase REST Client is hard coded to http protocol (Qiang Tian) --- src/main/docbkx/external_apis.xml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/docbkx/external_apis.xml b/src/main/docbkx/external_apis.xml index c0b9a3f41d6..fa1abdc95d0 100644 --- a/src/main/docbkx/external_apis.xml +++ b/src/main/docbkx/external_apis.xml @@ -49,12 +49,20 @@ by Jesse Anderson. - To run your REST server under SSL, enable the following configs when you launch the REST server: -hbase.rest.ssl.enabled + To run your REST server under SSL, set hbase.rest.ssl.enabled to true and also set the + following configs when you launch the REST server:(See example commands in + ) + hbase.rest.ssl.keystore.store hbase.rest.ssl.keystore.password hbase.rest.ssl.keystore.keypassword + + HBase ships a simple REST client, see REST client package for details. + To enable SSL support for it, please also import your certificate into local java + cacerts keystore: + keytool -import -trustcacerts -file /home/user/restserver.cert -keystore $JAVA_HOME/jre/lib/security/cacerts +