<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Phoenix query server over https in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Phoenix-query-server-over-https/m-p/278725#M208198</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Does Phoenix query server support https protocol? My Hadoop system is kerberized and ssl enabled, HTTPS encryption for wire encryption. I did not find any document for PQS request over HTTPS. If it is supported then please point me to the correct configurations parameters.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2019 10:18:09 GMT</pubDate>
    <dc:creator>udhirkr</dc:creator>
    <dc:date>2019-10-03T10:18:09Z</dc:date>
    <item>
      <title>Phoenix query server over https</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Phoenix-query-server-over-https/m-p/278725#M208198</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Does Phoenix query server support https protocol? My Hadoop system is kerberized and ssl enabled, HTTPS encryption for wire encryption. I did not find any document for PQS request over HTTPS. If it is supported then please point me to the correct configurations parameters.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2019 10:18:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Phoenix-query-server-over-https/m-p/278725#M208198</guid>
      <dc:creator>udhirkr</dc:creator>
      <dc:date>2019-10-03T10:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Phoenix query server over https</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Phoenix-query-server-over-https/m-p/278922#M208328</link>
      <description>&lt;P&gt;Phoenix Query server does not support https. Here is reply from Karan Mehta, PQS committer.&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;PQS doesn't offer https out of the box. What it enables is something called as ServerCustomizer. It is an interface that allows you to customize the embedded jetty server. Since most companies usually have their security standard, I didn't want to hardcode in it.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Internally, we have secured our endpoint with SSL certificates and client authentication as well. There isn't any good documentation (sorry about that).&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Here are the relevant steps:&lt;/DIV&gt;&lt;DIV&gt;1. Fork the code for internal use case&lt;/DIV&gt;&lt;DIV&gt;2. Enable server customizers &lt;A href="https://github.com/apache/phoenix-queryserver/blob/master/queryserver/src/main/java/org/apache/phoenix/queryserver/server/QueryServer.java#L460-L466" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;3. Create our own factory &lt;A href="https://github.com/apache/phoenix-queryserver/blob/master/queryserver/src/main/java/org/apache/phoenix/queryserver/server/QueryServer.java#L493-L497" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;4. Add your customizer logic and build it and use&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Examples are in: &lt;A href="https://github.com/apache/phoenix-queryserver/blob/master/queryserver/src/it/java/org/apache/phoenix/end2end/ServerCustomizersIT.java" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;and &lt;A href="https://github.com/apache/phoenix-queryserver/blob/master/queryserver/src/test/java/org/apache/phoenix/queryserver/server/ServerCustomizersTest.java" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;lt;/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 04:50:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Phoenix-query-server-over-https/m-p/278922#M208328</guid>
      <dc:creator>udhirkr</dc:creator>
      <dc:date>2019-10-07T04:50:50Z</dc:date>
    </item>
  </channel>
</rss>

