THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Tika Server now has the ability to be spawned with SSL enabled by providing a keystore/Truststore as part of the configuration, this is likely to change but is available as part of Tika 2.4
Example:
Code Block |
---|
<properties> |
...
<server> |
...
<params> |
...
<port>9999</port> |
...
<forkedJvmArgs> |
...
<arg>-Xmx2g</arg> |
...
</forkedJvmArgs> |
...
<endpoints> |
...
<endpoint>rmeta</endpoint> |
...
</endpoints> |
...
</params> |
...
<tlsConfig> |
...
<params> |
...
<active>true</active> |
...
<keyStoreType>myType</keyStoreType> |
...
<keyStorePassword>pass</keyStorePassword> |
...
<keyStoreFile>/something/or/other</keyStoreFile> |
...
<trustStoreType>myType2</trustStoreType> |
...
<trustStorePassword>pass2</trustStorePassword> |
...
<trustStoreFile>/something/or/other2</trustStoreFile> |
...
</params> |
...
</tlsConfig> |
...
</server> |
...
</properties> |
Architecture
Tika Server is based on JSR 311 for a network serve. The server package uses the Apache CXF framework that provides an implementation of JAX-RS for Java.