Uploaded image for project: 'ONgDB'
  1. ONgDB
  2. ONGDB-304

KeyStores with multiple certificates are not supported

    XMLWordPrintable

Details

    • Story
    • Status: Done
    • Highest
    • Resolution: Done
    • 1.0.2
    • 1.0.4
    • None
    • Security Level: L0 - Anyone (Any Role+)
    • None

    Description

      KeyStores with multiple certificates are not supported on the base class org.eclipse.jetty.util.ssl.SslContextFactory

      2022-07-03 01:28:11.176+0000 ERROR Failed to start ONgDB: Starting ONgDB failed: Component 'org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@4cadd4d4' was successfully initialized, but failed to start. Please see the attached cause exception "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)". Starting ONgDB failed: Component 'org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@4cadd4d4' was successfully initialized, but failed to start. Please see the attached cause exception "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)".
      org.neo4j.server.ServerStartupException: Starting ONgDB failed: Component 'org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@4cadd4d4' was successfully initialized, but failed to start. Please see the attached cause exception "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.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:87)
              at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:239)
              at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:130)
              at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:98)
              at org.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:51)
      Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter@4cadd4d4' was successfully initialized, but failed to start. Please see the attached cause exception "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.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:485)
              at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:126)
              at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:231)
              ... 3 more
      Caused by: 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:1289)
              at org.eclipse.jetty.util.ssl.SslContextFactory.getKeyManagers(SslContextFactory.java:1271)
              at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:373)
              at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:244)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
              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:97)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
              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:323)
              at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)
              at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
              at org.eclipse.jetty.server.Server.doStart(Server.java:401)
              at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
              at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:342)
              at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:172)
              at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:340)
              at org.neo4j.server.AbstractNeoServer.access$700(AbstractNeoServer.java:121)
              at org.neo4j.server.AbstractNeoServer$ServerComponentsLifecycleAdapter.start(AbstractNeoServer.java:546)
              at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:464)
              ... 5 more 

      Attachments

        Activity

          People

            bradnussbaum Brad Nussbaum
            bradnussbaum Brad Nussbaum
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: