geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3445) Add Gfsh Connect option --skip-ssl-validation
Date Tue, 22 Aug 2017 19:04:00 GMT

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

ASF subversion and git services commented on GEODE-3445:
--------------------------------------------------------

Commit b77e1c7d1e1dc31a539496483c8e9f739155f021 in geode's branch refs/heads/develop from
[~jstewart]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=b77e1c7 ]

GEODE-3445: Add gfsh connect option --skip-ssl-validation


> Add Gfsh Connect option --skip-ssl-validation
> ---------------------------------------------
>
>                 Key: GEODE-3445
>                 URL: https://issues.apache.org/jira/browse/GEODE-3445
>             Project: Geode
>          Issue Type: New Feature
>          Components: docs, gfsh
>            Reporter: Jared Stewart
>            Assignee: Jared Stewart
>
> We have users who would like to connect to a locator from gfsh over HTTPS without verifying
the hostname of the locator.  (This is a common pattern in testing environments or where self-signed
certificates are used.)  We already have some code used for tests to enable this behavior:
> {noformat}
>    // This is for testing purpose only. If we remove this piece of code we will
>     // get a java.security.cert.CertificateException
>     // as matching hostname can not be obtained in all test environment.
>     HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
>       @Override
>       public boolean verify(String string, SSLSession ssls) {
>         return true;
>       }
>     });
> {noformat}
> We just need to conditionally call this code inside Gfsh Connect if the --skip-ssl-validation
option is specified.



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

Mime
View raw message