You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Florian Brunner (JIRA)" <ji...@codehaus.org> on 2010/09/06 15:54:32 UTC

[jira] Commented: (MCHANGES-175) SSLHandshakeException when accessing Jira using https

    [ http://jira.codehaus.org/browse/MCHANGES-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234336#action_234336 ] 

Florian Brunner commented on MCHANGES-175:
------------------------------------------

There is a similar issue with trac-report. Please make it work for this goal as well.

Maybe a SSL trust-store configuration would be useful as well.


> SSLHandshakeException when accessing Jira using https
> -----------------------------------------------------
>
>                 Key: MCHANGES-175
>                 URL: http://jira.codehaus.org/browse/MCHANGES-175
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Bug
>          Components: jira-report
>    Affects Versions: 2.1
>            Reporter: Krishna Pothula
>            Priority: Blocker
>         Attachments: patch_MCHANGES-175.diff
>
>
> 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)
> ------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira