You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by Rahul Khandelwal <ra...@gmail.com> on 2015/09/24 11:38:28 UTC
HTTPS support in tika-server
Hi,
Can we support HTTPS request for tika server ?
I am trying to modify cxf.xml file in tika server jar by adding
<http:conduit name="http://localhost:9998/.*">
<http:client AutoRedirect="true" Connection="Keep-Alive"/>
</http:conduit>
Is this the correct approach ?
--
*Thanks,*
*Rahul Khandelwal*
Re: HTTPS support in tika-server
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
No, this affects the client-side CXF code only (and specifically in this
fragment it allows the client code follow redirects without managing 30x
statues manually).
I believe Tika can now be packaged as a war, so simply drop that war
into Tomcat, etc, and have HTTPS configured at the servlet container level.
It is possible to run CXF endpoints with HTTPS enabled (example, using
httpj:jetty Spring/Blueprint configs) but the server would need to be
rewritten to support loading Spring contexts, etc
HTH, Sergey
On 24/09/15 10:38, Rahul Khandelwal wrote:
> Hi,
>
> Can we support HTTPS request for tika server ?
>
> I am trying to modify cxf.xml file in tika server jar by adding
>
> <http:conduit name="http://localhost:9998/.*">
> <http:client AutoRedirect="true" Connection="Keep-Alive"/>
> </http:conduit>
>
>
> Is this the correct approach ?
>
>
>