[ https://issues.apache.org/jira/browse/TIKA-3719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17525914#comment-17525914 ]
Dan Coldrick commented on TIKA-3719: ------------------------------------ Hi [~tallison] I don't think the trust store code I provided works, as soon as I set a trust store it errors. INFO [main] 18:50:17,420 org.apache.tika.server.core.TikaServerProcess Starting Apache Tika server INFO [main] 18:50:17,496 org.apache.tika.server.core.TikaServerProcess Using custom config: G:\git\tika-server-config-default.xml ERROR [main] 18:50:23,995 org.apache.cxf.configuration.jsse.TLSParameterJaxBUtils Could not load keystore resource C:/Program Files/Java/jdk1.8.0_301/jre/lib/security/cacerts ERROR [main] 18:50:23,995 org.apache.tika.server.core.TikaServerProcess Can't start: java.io.IOException: Could not load keystore resource C:/Program Files/Java/jdk1.8.0_301/jre/lib/security/cacerts at org.apache.cxf.configuration.jsse.TLSParameterJaxBUtils.getKeyStore(TLSParameterJaxBUtils.java:161) ~[cxf-core-3.5.1.jar:3.5.1] at org.apache.cxf.configuration.jsse.TLSParameterJaxBUtils.getTrustManagers(TLSParameterJaxBUtils.java:395) ~[cxf-core-3.5.1.jar:3.5.1] at org.apache.tika.server.core.TikaServerProcess.getTlsParams(TikaServerProcess.java:304) ~[classes/:?] at org.apache.tika.server.core.TikaServerProcess.initServer(TikaServerProcess.java:265) ~[classes/:?] at org.apache.tika.server.core.TikaServerProcess.main(TikaServerProcess.java:133) ~[classes/:?] If I ignore the trust manager the server starts. I'll do some digging around about the trust store but not 100% I'll be able to solve it. > 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 > Attachments: image-2022-04-21-18-52-50-706.png > > > 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)