@Override
  protected void initialize(Configuration serverConf, Configuration clientConf)
    throws IOException, GeneralSecurityException, OperatorCreationException {
    // server enables client auth mode and verifies client host names
    // inject bad certs into client side
    serverConf.set(X509Util.HBASE_SERVER_NETTY_TLS_CLIENT_AUTH_MODE, clientAuthMode.name());
    serverConf.setBoolean(X509Util.HBASE_SERVER_NETTY_TLS_VERIFY_CLIENT_HOSTNAME,
      validateHostnames);
    handleCertConfig(clientConf);
  }
Comprehensively tests all permutations of ClientAuth modes and host verification
enabled/disabled. Tests each permutation of that against each relevant value of
{@link CertConfig}, i.e. passing no cert, a bad cert, etc. See inline comments in {@link #data()}
below for what the expectations are
hbase-server/src/test/java/org/apache/hadoop/hbase/security/TestMutualTlsServerSide.java