Versions Compared

Key

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

...

</Connector>

Enable TLS on port 8443

<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true">
    <SSLHostConfig protocols="TLSv1.2" truststoreFile="conf/cacerts.jks">
        <Certificate certificateKeystoreFile="conf/clientcert.jks"
                     certificateKeystorePassword="changeit"
                     type="RSA" />
    </SSLHostConfig>
</Connector>

Note: Set protocols="TLSv1.2" to disable TLSv1.3 since the TCK requires post-handshake authentication and the Java 11 client does not support that.

...

Remove the sections setting the default character encoding for requests and responses to UTF-8.

And add the following:

  <locale-encoding-mapping-list>
    <locale-encoding-mapping>
      <locale>ja</locale>
      <encoding>Shift_JIS</encoding>
    </locale-encoding-mapping>
  </locale-encoding-mapping-list>

Test Suite

Download the Jakarta Servlet 6.0.0 TCK

...