protected SSLConfig buildSSLConfig() {
    SSLConfig.Builder sslConfigBuilder = new SSLConfig.Builder();

    if (getConfig() != null) {
      sslConfigBuilder.setEnabled(getConfig().isSSLEnabled());
      sslConfigBuilder.setProtocols(getConfig().getSSLProtocols());
      sslConfigBuilder.setCiphers(getConfig().getSSLCiphers());
      sslConfigBuilder.setRequireAuth(getConfig().isSSLAuthenticationRequired());
      sslConfigBuilder.setProperties(getConfig().getSSLProperties());
    }
    return sslConfigBuilder.build();
  }
Builds the configuration needed to connect to a GfManagerAgent which is the main gateway into
the internal.admin api. GfManagerAgent is used to actually connect to the distributed gemfire
system.

@param logWriter the LogWriterI18n to use for any logging
@return the configuration needed to connect to a GfManagerAgent
geode-core/src/main/java/org/apache/geode/admin/internal/AdminDistributedSystemImpl.java