@Test
  public void testCacheServerSSL() throws Exception {
    VM serverVM = getVM(1);
    VM clientVM = getVM(2);
    VM serverVM2 = getVM(3);

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

    Properties locatorProps = new Properties();
    String cacheServerSslprotocols = "any";
    String cacheServerSslciphers = "any";
    boolean cacheServerSslRequireAuth = true;
    getNewSSLSettings(locatorProps, cacheServerSslprotocols, cacheServerSslciphers,
        cacheServerSslRequireAuth);
    Locator locator = Locator.startLocatorAndDS(0, new File(""), locatorProps);
    int locatorPort = locator.getPort();
    try {
      serverVM.invoke(() -> setUpServerVMTask(cacheServerSslenabled, locatorPort));
      int port = serverVM.invoke(CacheServerSSLConnectionDUnitTest::createServerTask);
      serverVM2.invoke(() -> setUpServerVMTask(cacheServerSslenabled, locatorPort));
      serverVM2.invoke(CacheServerSSLConnectionDUnitTest::createServerTask);

      String hostName = getHostName();

      clientVM.invoke(() -> setUpClientVMTask(hostName, port, cacheClientSslenabled,
          cacheClientSslRequireAuth, CLIENT_KEY_STORE, CLIENT_TRUST_STORE, true));
      clientVM.invoke(CacheServerSSLConnectionDUnitTest::doClientRegionTestTask);
      serverVM.invoke(CacheServerSSLConnectionDUnitTest::doServerRegionTestTask);
    } finally {
      locator.stop();
    }
  }
Tests cacheserver ssl support added. See https://svn.gemstone.com/trac/gemfire/ticket/48995 for
details
geode-core/src/distributedTest/java/org/apache/geode/cache/client/internal/CacheServerSSLConnectionDUnitTest.java