Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-14892

Workflow Triggers not working with Tomcat over SSL when certificate contains invalid hostname

      Problem

      If JIRA/Stash with SSL connections are using an invalid hostname in the SSL certificate, workflow triggers will not work. Other functions of the application link integration appears to be working as expected.

      Summary

      Sample Connector from server.xml file used for both JIRA and Stash with the only difference being listening ports:

      	<Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
                    maxHttpHeaderSize="8192" SSLEnabled="true"
                    maxThreads="150" minSpareThreads="25"
                    enableLookups="false" disableUploadTimeout="true"
                    acceptCount="100" scheme="https" secure="true"
                    clientAuth="false" sslProtocol="TLS" useBodyEncodingForURI="true"
                    keyAlias="jira639" keystoreFile="<jira-home>jira.jks" keystorePass="changeit" keystoreType="JKS"/>
      

      Tests via Applinks Diagnostics plugin all come back successful.

      • Go to workflow in JIRA and when adding a workflow trigger you'll see a message telling you 'JIRA is not able to communicate with Stash':

      It is possible to still add the trigger, however tests reveal that it does not work as message in the diagnostic above indicates.

      Verifiy

        1. bellomo-jira.png
          56 kB
          Michael Bellomo
        2. bellomo-jira-2.png
          24 kB
          Michael Bellomo
        3. bellomo-stash.png
          16 kB
          Michael Bellomo
        4. project_overview.png
          169 kB
          Pelle Kirkeby
        5. trigger.png
          80 kB
          Pelle Kirkeby

            [JSWSERVER-14892] Workflow Triggers not working with Tomcat over SSL when certificate contains invalid hostname

            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2852134 ] New: JAC Bug Workflow v3 [ 2938304 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545992 ] New: JAC Bug Workflow v2 [ 2852134 ]
            Ignat (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1543069 ] New: JIRA Bug Workflow w Kanban v7 - Restricted [ 2545992 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels Original: jira-development-panel warranty New: affects-server jira-development-panel warranty
            Oswaldo Hernandez (Inactive) made changes -
            Component/s New: Development Panel [ 43313 ]
            Component/s Original: Issue - Development Panel [ 25405 ]
            Key Original: JRA-41236 New: JSW-14892
            Symptom Severity New: Minor [ 14432 ]
            Affects Version/s New: Unknown [ 31790 ]
            Affects Version/s Original: 6.3.9 [ 46590 ]
            Project Original: JIRA (including JIRA Core) [ 10240 ] New: JIRA Software (including JIRA Agile) [ 12200 ]
            Oswaldo Hernandez (Inactive) made changes -
            Labels Original: warranty New: jira-development-panel warranty
            Owen made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 [ 785173 ] New: JIRA Bug Workflow w Kanban v6 - Restricted [ 1543069 ]
            Szilard Toth (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 101729 ] New: This issue links to "Page (Extranet)" [ 101729 ]
            Szilard Toth (Inactive) made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 101729 ] New: This issue links to "Page (Extranet)" [ 101729 ]

              Unassigned Unassigned
              pkirkeby Pelle Kirkeby (Inactive)
              Affected customers:
              11 This affects my team
              Watchers:
              19 Start watching this issue

                Created:
                Updated:
                Resolved: