Darrel Schneider created GEODE-397:
--------------------------------------

             Summary: When the server-ssl-* properties are configured, the 
client subscription socket can fail to be created
                 Key: GEODE-397
                 URL: https://issues.apache.org/jira/browse/GEODE-397
             Project: Geode
          Issue Type: Bug
          Components: core
            Reporter: Darrel Schneider
            Assignee: Darrel Schneider


The {{{CacheClientUpdater}}} (which creates the client subscription socket) 
uses the default {{{SocketCreator}}} which is configured based on the 
{{{cluster-ssl-*}}} properties.

If the {{{cluster-ssl-*}}} properties are configured in the client security 
properties, the client subscription socket is created correctly. If, instead, 
the {{{server-ssl-*}}} properties are configured, then the 
{{{CacheClientUpdater}}} will attempt to create the socket with value of 
{{{cluster-ssl-enabled}}} (which will be false) instead of 
{{{server-ssl-enabled}}} (which will be true) and fail.

The messages logged in the client log are:
{{{
[warning 2015/10/05 18:41:46.487 PDT  <main> tid=0x1] Cache Client Updater 
Thread  on boglesbymac(server1:85312)<v1>:13499 port 49848 
(192.168.2.12:49848): Security exception when creating server-to-client 
communication socket. 
com.gemstone.gemfire.security.AuthenticationRequiredException: Server expecting 
SSL connection

[error 2015/10/05 18:41:46.491 PDT  <main> tid=0x1] Could not find any server 
to create primary client queue on. Number of excluded servers is 1 and 
exception is no exception.

[error 2015/10/05 18:41:46.491 PDT  <main> tid=0x1] Could not initialize a 
primary queue on startup. No queue servers available.
}}}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to