@Test
  public void testNonSSLClient() {
    VM serverVM = getVM(1);
    VM clientVM = getVM(2);

    boolean cacheServerSslenabled = true;
    boolean cacheClientSslenabled = false;
    boolean cacheClientSslRequireAuth = true;

    serverVM.invoke(() -> setUpServerVMTask(cacheServerSslenabled, 0));
    serverVM.invoke(CacheServerSSLConnectionDUnitTest::createServerTask);

    Object[] array = serverVM.invoke(CacheServerSSLConnectionDUnitTest::getCacheServerEndPointTask);
    String hostName = (String) array[0];
    int port = (Integer) array[1];

    try (IgnoredException i1 = addIgnoredException(SSLException.class);
        IgnoredException i2 = addIgnoredException(IOException.class)) {
      clientVM.invoke(() -> setUpClientVMTaskNoSubscription(hostName, port, cacheClientSslenabled,
          cacheClientSslRequireAuth, TRUSTED_STORE, TRUSTED_STORE));
      clientVM.invoke(CacheServerSSLConnectionDUnitTest::doClientRegionTestTask);
      serverVM.invoke(CacheServerSSLConnectionDUnitTest::doServerRegionTestTask);
      fail("Test should fail as non-ssl client is trying to connect to ssl configured server");

    } catch (Exception rmiException) {
      assertThat(rmiException).hasRootCauseInstanceOf(AuthenticationRequiredException.class);
    }
  }
GEODE-2898: A non-responsive SSL client can block a server's "acceptor" thread

<p>
Start a server and then connect to it without completing the SSL handshake

<p>
Attempt to connect to the server using a real SSL client, demonstrating that the server is not
blocked and can process the new connection request.
geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/CacheServerSSLConnectionDUnitTest.java