brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Deploy across an entire web clust...
Date Tue, 29 Jul 2014 14:53:49 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/83#discussion_r15527746
  
    --- Diff: utils/common/src/main/java/brooklyn/util/net/Networking.java ---
    @@ -386,4 +386,23 @@ public static boolean isReachable(HostAndPort endpoint) {
     
         // TODO go through nic's, looking for public, private, etc, on localhost
     
    +    /**
    +     * intsall TLSv1, fixing:
    +     * http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al
    +     */
    +    public static void installTlsForHttps() {
    +        System.setProperty("https.protocols", "TLSv1");
    +    }
    +    public static void installTlsForHttpsIfAppropriate() {
    +        if (System.getProperty("https.protocols")==null && System.getProperty("brooklyn.https.protocols.leave_untouched")==null)
{
    +            installTlsForHttps();
    +        }
    +    }
    +    static {
    +        installTlsForHttps();
    --- End diff --
    
    yes, and renamed methods to prevent confusion, thanks


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message