Support Questions

Find answers, ask questions, and share your expertise

Phoenix query server over https

avatar
New Contributor

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.

1 ACCEPTED SOLUTION

avatar
New Contributor

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

</>

View solution in original post

1 REPLY 1

avatar
New Contributor

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

</>