Unable to setup HTTP/2 on Jenkins 2.303.2 and Java 11

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

XMLWordPrintable

      I am trying to enable http/2 support on Jenkins 2.303.2 and Java 11.

      This test program from Initial Settings fails.

      java --extraLibFolder=/opt/java/jetty-alpn-java-server-9.4.43.v20210629.jar -jar /usr/lib/jenkins/jenkins.war --http2Port=9090 --httpsPort=8443 --httpsKeyStore=/var/lib/jenkins/.cacerts/cacerts  --httpsKeyStorePassword=changeit
      Unrecognized option: --extraLibFolder=/opt/java/jetty-alpn-java-server-9.4.43.v20210629.jar
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      

       Using https with an existing certificate using --httpsCertificate and --httpsPrivateKey also do not seem to be compatible with HTTP/2.

            Assignee:
            Unassigned
            Reporter:
            John Malmberg
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: