You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Karen Smoler Miller (JIRA)" <ji...@apache.org> on 2017/10/11 15:53:00 UTC
[jira] [Reopened] (GEODE-3445) Add Gfsh Connect option
--skip-ssl-validation
[ https://issues.apache.org/jira/browse/GEODE-3445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karen Smoler Miller reopened GEODE-3445:
----------------------------------------
Assignee: Karen Smoler Miller (was: Jared Stewart)
Reopening ticket to complete documentation of the new gfsh connect option.
> 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: Karen Smoler Miller
> Fix For: 1.3.0
>
>
> 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)