hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esteban Gutierrez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12984) SSL cannot be used by the InfoPort in branch-1
Date Sat, 07 Feb 2015 07:02:35 GMT
Esteban Gutierrez created HBASE-12984:

             Summary: SSL cannot be used by the InfoPort in branch-1
                 Key: HBASE-12984
                 URL: https://issues.apache.org/jira/browse/HBASE-12984
             Project: HBase
          Issue Type: Bug
    Affects Versions: 1.0.0, 2.0.0, 1.1.0
            Reporter: Esteban Gutierrez
            Priority: Blocker

Setting {{hbase.ssl.enabled}} to {{true}} doesn't enable SSL on the InfoServer. Found that
the problem is down the InfoServer and HttpConfig in how we setup the protocol in the HttpServer:

for (URI ep : endpoints) {
        Connector listener = null;
        String scheme = ep.getScheme();
 if ("http".equals(scheme)) {
          listener = HttpServer.createDefaultChannelConnector();
        } else if ("https".equals(scheme)) {
          SslSocketConnector c = new SslSocketConnectorSecure();

It depends what end points have been added by the InfoServer:

      .addEndpoint(URI.create("http://" + bindAddress + ":" + port))

Basically we always use http and we don't look via HttConfig if {{hbase.ssl.enabled}} was
set to true.

This message was sent by Atlassian JIRA

View raw message