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

JiraTicketerPlugin does not to work with https instances

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 18.0.2
    • Fix Version/s: 18.0.3
    • Component/s: Ticketing
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - Nov 23rd

      Description

      While I was working on NMS-8893 the JiraTicketerPlugin always timed out when accessing issues.opennms.org which is now a HTTPS resource.

      I created a OsgiCommand to simulate a "list projects" on the REST API and get the following stack trace:

      Exception in thread "httpclient-io:thread-2" java.lang.NoClassDefFoundError: javax/security/auth/x500/X500Principal
      	at org.apache.http.conn.ssl.AbstractVerifier.getCNs(AbstractVerifier.java:263)
      	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:157)
      	at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:147)
      	at org.apache.http.nio.conn.ssl.SSLLayeringStrategy.verifySession(SSLLayeringStrategy.java:201)
      	at org.apache.http.nio.conn.ssl.SSLLayeringStrategy$InternalSSLSetupHandler.verify(SSLLayeringStrategy.java:214)
      	at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:285)
      	at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:370)
      	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:118)
      	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
      	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
      	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
      	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
      	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
      	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
      	at java.lang.Thread.run(Thread.java:745)
      

      It should be possible to use jira instances secured with SSL.

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von Rüden
              Reporter:
              mvr Markus von Rüden
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: