I've been trying to get that A+ on the SSL Server Test @ SSL Labs. However, I can't figure out how to pass the "downgrade attack prevention" test:


I'm running Jetty 9.3.0.v20150612 alongside OpenJDK 8, on Linux Ubuntu 15.04 (Vivid Vervet).

hristo@test:~$ java -version
openjdk version "1.8.0_45-internal"
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)

I've read through and followed the instructions from Jetty's SSL config documentation, and tried my best to edit the relevant XML config files. No matter what I try, I still see "No, TLS_FALLBACK_SCSV not supported".

I've enabled the https and ssl modules for Jetty by running this command:

$ java -jar start.jar --add-to-startd=https,ssl
INFO: ssl             initialised in ${jetty.base}/start.d/ssl.ini
INFO: https           initialised in ${jetty.base}/start.d/https.ini
INFO: Base directory was modified

I haven't modified the vanilla jetty.xml nor jetty-https.xml because I'm not sure what I need to change there. Here's what I have for my configs:


# added this to the bottom of start.ini
# TLS configuration


<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">

<!-- ============================================================= -->
<!-- SSL ContextFactory configuration                              -->
<!-- ============================================================= -->
<Configure id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">

  <!-- ===================== -->
  <!-- other default configs -->
  <!-- ===================== -->

  <Set name="IncludeCipherSuites">
    <Array type="String">


  <Set name="IncludeProtocols">
    <Array type="java.lang.String">
  <Set name="ExcludeCipherSuites">
    <Array type="String">
  <Set name="ExcludeProtocols">
    <Array type="java.lang.String">
  <Set name="renegotiationAllowed" type="boolean">false</Set>
  <Set name="useCipherSuitesOrder"><Property name="jetty.sslContext.useCipherSuitesOrder" default="true"/></Set>

What else am I missing? Do I need to configure Jetty some more? Do I need to configure Java 8 somehow? Do I need to modify some special Ubuntu configs?

  • You could put your Jetty instance behind HAProxy and let the latter handle TLS for you. – Alexander Farber Jun 27 '16 at 12:31

It's simply not implemented in Java yet – it is planned for Java 9 though.

You can follow #JDK-8061798 for updates.

  • 1
    I know that Jetty uses Java Secure Socket Extension (JSSE) by default. Do you know if it's possible to get Jetty to use OpenSSL instead (which supports the TLS_FALLBACK_SCV cipher suite)? – Hristo Jun 26 '15 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.