=== Test case: s2s_SUITE:auth_with_valid_cert_fails_when_requested_name_is_not_in_the_cert/1 (click for source code)

=== Config value:

    [{watchdog,<0.57560.0>},
     {{s2s,mim},
      #{opts =>
            #{address => #{<<"fed1">> => #{ip_address => "127.0.0.1"}},
              outgoing =>
                  #{port => 5299,connection_timeout => 10000,
                    ip_versions => [4,6]},
              dns => #{timeout => 10,retries => 2},
              certfile => "priv/ssl/fake_server.pem",
              ciphers => "TLSv1.2:TLSv1.3",use_starttls => optional,
              default_policy => allow,max_retry_delay => 300},
        listener =>
            #{module => ejabberd_s2s_in,port => 5269,num_acceptors => 100,
              hibernate_after => 0,backlog => 1024,
              tls =>
                  #{dhfile => "priv/ssl/fake_dh_server.pem",
                    ciphers => "TLSv1.2:TLSv1.3",verify_mode => peer,
                    protocol_options =>
                        ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
              ip_address => "0",connection_type => s2s,
              max_stanza_size => 131072,shaper => s2s_shaper,proto => tcp,
              ip_tuple => {0,0,0,0},
              ip_version => 4,proxy_protocol => false}}},
     {{s2s,fed},
      #{opts =>
            #{address =>
                  #{<<"domain.example.com">> => #{ip_address => "127.0.0.1"},
                    <<"localhost">> => #{ip_address => "127.0.0.1"},
                    <<"localhost.bis">> => #{ip_address => "127.0.0.1"},
                    <<"muc.localhost">> => #{ip_address => "127.0.0.1"},
                    <<"pubsub.localhost">> => #{ip_address => "127.0.0.1"}},
              outgoing =>
                  #{port => 5269,connection_timeout => 10000,
                    ip_versions => [4,6]},
              dns => #{timeout => 10,retries => 2},
              certfile => "priv/ssl/fake_server.pem",
              ciphers => "TLSv1.2:TLSv1.3",use_starttls => optional,
              default_policy => allow,max_retry_delay => 300},
        listener =>
            #{module => ejabberd_s2s_in,port => 5299,num_acceptors => 100,
              hibernate_after => 0,backlog => 1024,
              tls =>
                  #{dhfile => "priv/ssl/fake_dh_server.pem",
                    ciphers => "TLSv1.2:TLSv1.3",verify_mode => peer,
                    protocol_options =>
                        ["no_sslv2","no_sslv3","no_tlsv1","no_tlsv1_1"]},
              ip_address => "0",connection_type => s2s,
              max_stanza_size => 131072,shaper => s2s_shaper,proto => tcp,
              ip_tuple => {0,0,0,0},
              ip_version => 4,proxy_protocol => false}}},
     {escalus_user_db,xmpp},
     {preset,"internal_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/s2s_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@de782f0351b0.2024-04-23_08.56.42/big_tests.tests.s2s_SUITE.logs/run.2024-04-23_09.10.39/s2s_suite.auth_with_valid_cert_fails_when_requested_name_is_not_in_the_cert.52996.html"},
     {tc_group_properties,[{name,node1_tls_optional_node2_tls_required_trusted_with_cachain},
                           parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/s2s_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@de782f0351b0.2024-04-23_08.56.42/big_tests.tests.s2s_SUITE.logs/run.2024-04-23_09.10.39/log_private/"},
     {escalus_users,[{alice2,[{username,<<"alice">>},
                              {server,<<"fed1">>},
                              {host,<<"localhost">>},
                              {port,5242},
                              {password,<<"makota2">>}]},
                     {alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@de782f0351b0.2024-04-23_08.56.42"

=== Started at 2024-04-23 09:10:51


*** CT 2024-04-23 09:10:51.090 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4956.html
*** CT 2024-04-23 09:10:51.270 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4957.html



=== Ended at 2024-04-23 09:10:51
=== successfully completed test case
=== === Returned value: true