Upgrade to 2.217 on Windows failed due to Jetty exception

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Blocker
    • Component/s: core
    • Environment:

      Immediately after attempting to upgrade Jenkins automatically, Jenkins Windows service starts but fails within 4 seconds.  See attached error log.

      The key error is apparently:

      java.lang.IllegalStateException: KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory. (Use org.eclipse.jetty.util.ssl.SslContextFactory$Server or org.eclipse.jetty.util.ssl.SslContextFactory$Client instead)

      The issue relates to a change in Jetty noted at the following post:

      https://github.com/eclipse/jetty.project/issues/4425

      Note that Jetty in Jenkins 2.217 was recently updated, per the changelog, from 9.4.22.v20191022 to 9.4.25.v20191220

      Apparently a code fix is required to use the newer Jetty, as detailed in comment https://github.com/eclipse/jetty.project/issues/4425#issuecomment-565967384

       

            Assignee:
            Unassigned
            Reporter:
            Michael Litwak
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: