Hi Stefania,
Exactly. If you have no need for the BaseX server instance, you can disable it by setting HTTOLOCAL to true [1].
Hope this helps, Christian
[1] http://docs.basex.org/wiki/Options#HTTPLOCAL
Stefania Axo stefy@us.ibm.com schrieb am Sa., 17. März 2018, 01:42:
Hi Christian
I was able to deploy basex.war (8.6.7) as expanded application under a server on WebSphere Liberty. The server is setup to use https with SSL. So I can run with success the BaseX Web Admin UI like https://localhost:9443/BaseX/dba/login?path=databasesand I can run Xquery from there.
The question is that the web application starts an instance of BaseXServerthat listen to 1984 port and that communication is not secure. I take that the BaseXServer will not change to provide a secure communication with the clients. is that correct?
thanks Stefania
From: "Christian Grün" christian.gruen@gmail.com To: Giavanna J Richards gjrichar@us.ibm.com Cc: BaseX basex-talk@mailman.uni-konstanz.de Date: 03/14/2018 04:07 PM Subject: Re: [basex-talk] SSL support for BaseX REST API Sent by: basex-talk-bounces@mailman.uni-konstanz.de
Hi Giavanna,
The SSL features has not been maintained anymore for a while now. With BaseX 9.0, it will be completely removed, because the old solution is not compatible anymore with Jetty 9. We may introduce it in future once we find a good way to do. There is a StackOverflow question that relates to this issue [1], but no helpful answer was given so far. Suggestions from users who use Jetty and SSL are welcome.
All the best, Christian
[1] https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_quest...
On Wed, Mar 14, 2018 at 8:18 PM, Giavanna J Richards gjrichar@us.ibm.com wrote:
I'm trying to determine how to enable SSL communications with the BaseX server, I have a java server which communicates with BaseX over its REST API for running xquery's. I see in the BaseX changelog that SSL support
was
added to version 7.5 in 2012 but I haven't been able to find any
references
to it in the documentation.
I found some statements in the jetty.xml file which are commented out and would appear to enable SSL on port 8986. But I'm not at all familiar
with
jetty. Is there some documentation available for enabling this support?
Thanks in advance!
Giavanna Richards