Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8234

Jetty server does not start up when a keystore with multiple certificates is used on 1.13.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.12.0, 1.13.0
    • None
    • None
    • None
    • Redhat Linux 7.9

    Description

      Seeing following Error in NiFi 1.13.0.  This appears to be the same issue as NIFI-7730

       

      2021-02-17 21:52:35,705 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.
      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)
              at org.eclipse.jetty.util.ssl.SslContextFactory.newSniX509ExtendedKeyManager(SslContextFactory.java:1275)
              at org.eclipse.jetty.util.ssl.SslContextFactory.getKeyManagers(SslContextFactory.java:1256)
              at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:374)
              at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:245)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
              at org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:92)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
              at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
              at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:320)
              at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)
              at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:231)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
              at org.eclipse.jetty.server.Server.doStart(Server.java:385)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)
              at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:1058)
              at org.apache.nifi.NiFi.<init>(NiFi.java:158)
              at org.apache.nifi.NiFi.<init>(NiFi.java:72)
              at org.apache.nifi.NiFi.main(NiFi.java:301)
      
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              agturley Adam Turley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: