You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/07 12:39:00 UTC

[jira] [Commented] (WAGON-452) Missing exception handling when maven.wagon.http.ssl.ignore.validity.dates flag is set to 'true'

    [ https://issues.apache.org/jira/browse/WAGON-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241936#comment-16241936 ] 

ASF GitHub Bot commented on WAGON-452:
--------------------------------------

GitHub user DonnyDepp opened a pull request:

    https://github.com/apache/maven-wagon/pull/36

    [WAGON-452] RelaxedTrustStrategy handle multiple certificates

    Ignoring ssl validity of dates is working, but in my case the server
    returns 3 (expired) certificates.
    With that RelaxedTrustStrategy always returned false.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/DonnyDepp/maven-wagon master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-wagon/pull/36.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #36
    
----
commit f825a855c58575808d215a37357ba90d38ff18ac
Author: Andre Doeblitz <ad...@googlemail.com>
Date:   2017-11-07T12:37:43Z

    [WAGON-452] RelaxedTrustStrategy handle multiple certificates
    
    Ignoring ssl validity of dates is working, but in my case the server
    returns 3 (expired) certificates.
    With that RelaxedTrustStrategy always returned false.

----


> Missing exception handling when maven.wagon.http.ssl.ignore.validity.dates flag is set to 'true'
> ------------------------------------------------------------------------------------------------
>
>                 Key: WAGON-452
>                 URL: https://issues.apache.org/jira/browse/WAGON-452
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-http
>    Affects Versions: 2.10
>            Reporter: VĂ­tor Teixeira
>              Labels: easyfix, maven, security
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> On org.apache.maven.wagon.providers.http.RelaxedTrustStrategy exception handling is missing.
> With maven.wagon.http.ssl.ignore.validity.dates=true the following exception is thrown:
> sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed: NotAfter: Tue Dec 29 23:59:59 GMT 2015 -> [Help 1]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)