[ 
https://issues.apache.org/jira/browse/TIKA-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524588#comment-17524588
 ] 

Dan Coldrick commented on TIKA-3719:
------------------------------------

Hi [~tallison] 

I'm far from being a java developer so not sure how much further I can help but 
how about adding some parameter to the xml config file? Something like:
{code:java}
<properties>
    <server>
        <params>
            <sslServer>
                <active>true</active>
                <keyStoreType>JKS</keyStoreType>
                <keyStorePassword>1</keyStorePassword>
                <keyStoreFile>c:/temp/keystore.jks</keyStoreFile>
                <trustStoreType>JKS</trustStoreType>
                <trustStorePassword>1</trustStorePassword>
                <trustStoreFile>c:/temp/keystore.jks</trustStorePassword>
            </sslServer>
        </params>
    </server>
</properties>
{code}
Also holding keystore passwords in clear text doesn't feel right to me so might 
have to do something around encrypting them somehow.

Next step would also to add some Authorization (Basic Auth would be a good 
start :) ) to the server but maybe that would be a separate feature? Would that 
be worthwhile raising?

> Tika Server Ability to Run HTTPs
> --------------------------------
>
>                 Key: TIKA-3719
>                 URL: https://issues.apache.org/jira/browse/TIKA-3719
>             Project: Tika
>          Issue Type: Wish
>          Components: tika-server
>    Affects Versions: 2.3.0
>            Reporter: Dan Coldrick
>            Priority: Minor
>
> We need the ability to run TIKA server as a https end point, I can't see 
> anything in the config that allows for this. 
> Looks like I'm not the only one:
> [https://stackoverflow.com/questions/70355551/apache-tika-convert-apache-tika-server-rest-endpointsjax-rs-http-to-https]
>  
> If anyone can point to some documentation on how it might be possible it 
> would be really appreciated.
>  
> Thanks



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to