Maven Changes Plugin
  1. Maven Changes Plugin
  2. MCHANGES-175

Allow accessing JIRA instances that use untrusted certificates

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Incomplete
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: jira
    • Labels:
      None

      Description

      We have an intranet Jira setup with https to have integration with LDAP. The certificate used is an internal one not issued by any CA.

      While accessing this repository jira-report throws below Exception:
      -------------------------------
      javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1476)
      at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174)
      at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168)
      at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:847)
      at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
      at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
      at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:619)
      at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
      at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
      at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:827)
      at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1975)
      at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
      at org.apache.maven.plugin.jira.JiraHelper.getPidFromJira(JiraHelper.java:55)
      at org.apache.maven.plugin.jira.AbstractJiraDownloader.doExecute(AbstractJiraDownloader.java:363)
      at org.apache.maven.plugin.jira.JiraMojo.executeReport(JiraMojo.java:245)
      ------------------------------------

        Issue Links

          Activity

          Krishna Pothula created issue -
          Krishna Pothula made changes -
          Field Original Value New Value
          Attachment patch_MCHANGES-175.diff [ 44201 ]
          Dennis Lundberg made changes -
          Priority Blocker [ 1 ] Critical [ 2 ]
          Dennis Lundberg made changes -
          Link This issue is duplicated by MCHANGES-200 [ MCHANGES-200 ]
          Dennis Lundberg made changes -
          Summary SSLHandshakeException when accessing Jira using https Allow accessing JIRA instances that use untrusted certificates
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          Benson Margulies made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Benson Margulies [ bmargulies ]
          Resolution Incomplete [ 4 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 09:14:45 UTC 2015 [ 1428225285377 ]
          Mark Thomas made changes -
          Workflow jira [ 12718009 ] Default workflow, editable Closed status [ 12749358 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 22:40:15 UTC 2015 [ 1428273615853 ]
          Mark Thomas made changes -
          Workflow jira [ 12955471 ] Default workflow, editable Closed status [ 12992517 ]

            People

            • Assignee:
              Benson Margulies
              Reporter:
              Krishna Pothula
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development