private static void makeNullSSLFields(final Object obj, final Map<Field, Object> fieldMap) {
    for (Map.Entry<Field, Object> entry : fieldMap.entrySet()) {
      Field field = entry.getKey();
      Object fieldObj = entry.getValue();

      try {
        field.setAccessible(true);
        makeNullStaticField(fieldObj.getClass());
        field.set(obj, null);
        assertNull(field.get(obj));

      } catch (IllegalAccessException ex) {
        logger.warn("Exception while clearing SSL fields.", ex);
      }
    }
  }
This is a hack using reflection to clear the static objects in JSSE since otherwise changing
the javax.* store related properties has no effect during the course of running dunit suite
unless the VMs are restarted.
geode-dunit/src/main/java/org/apache/geode/security/SecurityTestUtils.java