Skip to main content
udhirkr
Gold ⭐️
October 3, 2019
Solved

Phoenix query server over https

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.

udhirkr
udhirkrAnswer
Gold ⭐️
October 7, 2019

Phoenix Query server does not support https. Here is reply from Karan Mehta, PQS committer.

<>

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. 
 
Internally, we have secured our endpoint with SSL certificates and client authentication as well. There isn't any good documentation (sorry about that). 
Here are the relevant steps:
1. Fork the code for internal use case
2. Enable server customizers here
3. Create our own factory here
4. Add your customizer logic and build it and use
 
Examples are in: here and here

</>

1 reply

udhirkr
udhirkrAuthorAnswer
Gold ⭐️
October 7, 2019

Phoenix Query server does not support https. Here is reply from Karan Mehta, PQS committer.

<>

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. 
 
Internally, we have secured our endpoint with SSL certificates and client authentication as well. There isn't any good documentation (sorry about that). 
Here are the relevant steps:
1. Fork the code for internal use case
2. Enable server customizers here
3. Create our own factory here
4. Add your customizer logic and build it and use
 
Examples are in: here and here

</>

Translate