=== Test case: graphql_SUITE:tls_connect_admin_unknown_certificate/1 (click for source code)

=== Config value:

    [{certificate_selfsigned,#{key =>
                                   "/home/circleci/project/big_tests/ct_report/ct_run.test@3ccff9f1bc0f.2024-03-27_08.08.05/big_tests.tests.graphql_SUITE.logs/run.2024-03-27_08.10.03/log_private/selfsigned_cert_key.pem",
                               cert =>
                                   "/home/circleci/project/big_tests/ct_report/ct_run.test@3ccff9f1bc0f.2024-03-27_08.08.05/big_tests.tests.graphql_SUITE.logs/run.2024-03-27_08.10.03/log_private/selfsigned_cert_self_signed_cert.pem"}},
     {certificate_signed,#{key =>
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@3ccff9f1bc0f.2024-03-27_08.08.05/big_tests.tests.graphql_SUITE.logs/run.2024-03-27_08.10.03/log_private/signed_cert_key.pem",
                           cert =>
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@3ccff9f1bc0f.2024-03-27_08.08.05/big_tests.tests.graphql_SUITE.logs/run.2024-03-27_08.10.03/log_private/signed_cert_cert.pem"}},
     {user_listener_config,#{module => ejabberd_cowboy,port => 5561,
                             protocol => #{compress => false},
                             handlers =>
                                 [#{module => mongoose_graphql_handler,
                                    path => "/api/graphql",host => '_',
                                    sse_idle_timeout => 3600000,
                                    schema_endpoint => user}],
                             transport =>
                                 #{num_acceptors => 10,
                                   max_connections => 1024},
                             ip_address => "0.0.0.0",ip_version => 4,
                             ip_tuple => {0,0,0,0},
                             proto => tcp,connection_type => undefined}},
     {domain_admin_listener_config,#{module => ejabberd_cowboy,port => 5541,
                                     protocol => #{compress => false},
                                     handlers =>
                                         [#{module => mongoose_graphql_handler,
                                            path => "/api/graphql",
                                            host => '_',
                                            sse_idle_timeout => 3600000,
                                            schema_endpoint => domain_admin}],
                                     transport =>
                                         #{num_acceptors => 10,
                                           max_connections => 1024},
                                     ip_address => "0.0.0.0",ip_version => 4,
                                     ip_tuple => {0,0,0,0},
                                     proto => tcp,
                                     connection_type => undefined}},
     {admin_listener_config,#{module => ejabberd_cowboy,port => 5551,
                              protocol => #{compress => false},
                              handlers =>
                                  [#{module => mongoose_graphql_handler,
                                     path => "/api/graphql",
                                     host => "localhost",
                                     username => <<"admin">>,
                                     password => <<"secret">>,
                                     sse_idle_timeout => 3600000,
                                     schema_endpoint => admin}],
                              transport =>
                                  #{num_acceptors => 10,
                                    max_connections => 1024},
                              ip_address => "127.0.0.1",ip_version => 4,
                              ip_tuple => {127,0,0,1},
                              proto => tcp,connection_type => undefined}},
     {watchdog,<0.13868.0>},
     {preset,"ldap_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@3ccff9f1bc0f.2024-03-27_08.08.05/big_tests.tests.graphql_SUITE.logs/run.2024-03-27_08.10.03/graphql_suite.tls_connect_admin_unknown_certificate.19715.html"},
     {tc_group_properties,[{name,tls_enabled},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@3ccff9f1bc0f.2024-03-27_08.08.05/big_tests.tests.graphql_SUITE.logs/run.2024-03-27_08.10.03/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,
              ldap =>
                  #{filter => <<"(objectClass=inetOrgPerson)">>,
                    base => <<"ou=Users,dc=esl,dc=com">>,deref => never,
                    uids => [{<<"uid">>,<<"%u">>}],
                    pool_tag => default,
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}],
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    search_operator => 'and',binary_search_fields => []},
              backend => ldap,iqdisc => parallel},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_amp => #{},mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@3ccff9f1bc0f.2024-03-27_08.08.05"

=== Started at 2024-03-27 08:10:05


*** CT 2024-03-27 08:10:05.010 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1515.html

*** CT Error Notification 2024-03-27 08:10:05.053 ***🔗
graphql_SUITE:tls_connect_admin_unknown_certificate failed on line 253
Reason: {assertMatch,[{module,...},{...}|...]}

Full error description and stacktrace
*** CT 2024-03-27 08:10:05.054 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1515.html



=== Ended at 2024-03-27 08:10:05
=== Location: [{graphql_SUITE,tls_connect_admin_unknown_certificate,253},
              {test_server,ts_tc,1793},
              {test_server,run_test_case_eval1,1302},
              {test_server,run_test_case_eval,1234}]
=== === Reason: {assertMatch,
                     [{module,graphql_SUITE},
                      {line,253},
                      {expression,"Result"},
                      {pattern,
                          "{ error , { tls_alert , { unknown_ca , _ } } }"},
                      {value,{error,connection_closed}}]}
  in function  graphql_SUITE:tls_connect_admin_unknown_certificate/1 (/home/circleci/project/big_tests/tests/graphql_SUITE.erl, line 253)
  in call from test_server:ts_tc/3 (test_server.erl, line 1793)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)