Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagexml
<properties>
  <server>
    <params>
      <port>9999</port>
      <taskTimeoutMillis>54321</taskTimeoutMillis>
      <minimumTimeoutMillis>10</minimumTimeoutMillis>
      <enableUnsecureFeatures>true</enableUnsecureFeatures>
      <maxFiles>20</maxFiles>
      <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>

...