Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12805

Wildcard certificate rejected after upgrade from OpenNMS version 26.1.1 to 26.1.2

    XMLWordPrintable

    Details

    • Sprint:
      Horizon 2020 - July 8, Horizon 2020 - July 22, Horizon 2020 - August 5
    • HB Backlog Status:
      Backlog RO

      Description

      After upgrade jetty server doesn't start with reason:

      2020-07-09 12:14:28,498 ERROR [Main] o.o.n.j.JettyServer: Error starting Jetty Server
       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.ss
       l.SslContextFactory$Client instead)
       at org.eclipse.jetty.util.ssl.SslContextFactory.newSniX509ExtendedKeyManager(SslContextFactory.java:1274) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.ssl.SslContextFactory.getKeyManagers(SslContextFactory.java:1256) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:374) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:245) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:97) ~[jetty-server-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:321) ~[jetty-server-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81) ~[jetty-server-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) ~[jetty-server-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.server.Server.doStart(Server.java:386) ~[jetty-server-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) ~[jetty-util-9.4.29.v20200521.jar:9.4.29.v20200521]
       at org.opennms.netmgt.jetty.JettyServer.onStart(JettyServer.java:111) [opennms-jetty-26.1.2.jar:?]
       at org.opennms.netmgt.daemon.AbstractServiceDaemon$4.run(AbstractServiceDaemon.java:297) [org.opennms.core.daemon-26.1.2.jar:?]
       at org.opennms.core.logging.Logging.withPrefix(Logging.java:71) [org.opennms.core.logging-26.1.2.jar:?]
       at org.opennms.netmgt.daemon.AbstractServiceDaemon.start(AbstractServiceDaemon.java:290) [org.opennms.core.daemon-26.1.2.jar:?]
       at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$2.run(AbstractSpringContextJmxServiceDaemon.java:128) [org.opennms.core.daemon-26.1.2.jar:?]
       at org.opennms.core.logging.Logging.withPrefix(Logging.java:71) [org.opennms.core.logging-26.1.2.jar:?]
       at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.start(AbstractSpringContextJmxServiceDaemon.java:118) [org.opennms.core.daemon-26.1.2.jar:?]
       at jdk.internal.reflect.GeneratedMethodAccessor434.invoke(Unknown Source) ~[?:?]
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
       at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
       at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71) [?:?]
       at jdk.internal.reflect.GeneratedMethodAccessor259.invoke(Unknown Source) ~[?:?]
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
       at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
       at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:260) [?:?]
       at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112) [?:?]
       at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46) [?:?]
       at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) [?:?]
       at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) [?:?]
       at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) [?:?]
       at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:809) [?:?]
       at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [?:?]
       at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:277) [org.opennms.core.daemon-26.1.2.jar:?]
       at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:206) [org.opennms.core.daemon-26.1.2.jar:?]
       at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154) [org.opennms.core.daemon-26.1.2.jar:?]
       at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94) [org.opennms.core.daemon-26.1.2.jar:?]
       at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173) [org.opennms.core.daemon-26.1.2.jar:?]
       at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150) [org.opennms.core.daemon-26.1.2.jar:?]
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
       at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
       at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
       at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
       at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:527) [opennms_bootstrap.jar:?]
       at java.lang.Thread.run(Thread.java:834) [?:?]
      
      

      Any solution to correct this problem?

        Attachments

          Activity

            People

            Assignee:
            indigo Ronny Trommer
            Reporter:
            asterix Paweł Łaganowski
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration