My mqtt client is disconnted to continously

2024-07-04T23:44:43.652301+05:30 [error] State machine <0.6573410.0> terminating. Reason: function_clause. Stack: [{public_key,pkix_decode_cert,[,otp],[{file,“public_key.erl”},{line,524}]},{ssl_handshake,get_cert_params,1,[{file,“ssl_handshake.erl”},{line,1791}]},{tls_handshake_1_3,get_certificate_params,1,[{file,“tls_handshake_1_3.erl”},{line,1552}]},{tls_server_connection_1_3,select_server_cert_key_pair,7,[{file,“tls_server_connection_1_3.erl”},{line,694}]},{tls_server_connection_1_3,do_handle_client_hello,2,[{file,“tls_server_connection_1_3.erl”},{line,440}]},{tls_server_connection_1_3,handle_client_hello,2,[{file,“tls_server_connection_1_3.erl”},{line,380}]},{gen_statem,loop_state_callback,11,[{file,“gen_statem.erl”},{line,1395}]},{tls_connection,init,1,[{file,“tls_connection.erl”},{line,162}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]. Last event: {internal,{client_hello,{3,3},<<84,15,70,107,192,91,2,229,191,128,66,36,255,83,230,92,85,60,93,251,169,76,33,99,229,174,251,128,97,83,14,27>>,<<165,160,176,42,232,169,41,76,220,159,3,111,241,131,101,73,116,82,111,94,165,35,249,9,186,201,146,66,33,99,128,77>>,undefined,[<<204,168>>,<<204,169>>,<<“À/”>>,<<“À0”>>,<<“À+”>>,<<“À,”>>,<<192,19>>,<<“À\t”>>,<<192,20>>,<<“À\n”>>,<<0,156>>,<<0,157>>,<<0,47>>,<<0,53>>,<<192,18>>,<<0,10>>,<<19,3>>,<<19,1>>,<<19,2>>],[0],#{cookie => undefined,sni => undefined,signature_algs => {signature_algorithms,[rsa_pss_rsae_sha256,ecdsa_secp256r1_sha256,eddsa_ed25519,rsa_pss_rsae_sha384,rsa_pss_rsae_sha512,rsa_pkcs1_sha256,rsa_pkcs1_sha384,rsa_pkcs1_sha512,ecdsa_secp384r1_sha384,ecdsa_secp521r1_sha512,rsa_pkcs1_sha1,ecdsa_sha1]},elliptic_curves => {supported_groups,[x25519,secp256r1,secp384r1,secp521r1]},certificate_authorities => undefined,signature_algs_cert => undefined,use_srtp => undefined,alpn => undefined,client_hello_versions => {client_hello_versions,[{3,4},{3,3},{3,2},{3,1}]},ec_point_formats => {ec_point_formats,[0]},psk_key_exchange_modes => undefined,renegotiation_info => {renegotiation_info,<<0>>},status_request => {certificate_status_request,undefined,undefined},key_share => {key_share_client_hello,[{key_share_entry,x25519,<<27,99,153,200,23,135,46,58,166,70,198,52,94,164,92,121,83,8,65,189,19,216,122,139,216,43,228,254,142,94,32,13>>}]},pre_shared_key => undefined}}}. State: [{data,[{“State”,{start,{state,{static_env,server,gen_tcp,tls_gen_connection,tcp,tcp_closed,tcp_error,tcp_passive,“localhost”,8883,#Port<0.1620005>,#Ref<0.1714807855.4270456833.118263>,no_longer_defined,ssl_server_session_cache_db,{ssl_crl_cache,{{#Ref<0.1714807855.4270456833.118266>,#Ref<0.1714807855.4270456833.118267>},}},{#Ref<0.1714807855.4270456833.118264>,#Ref<0.1714807855.4270456833.118265>},#Ref<0.1714807856.50593793.7725>,[{session_id_tracker,<0.3447.0>}]},“",#{signature_algs_cert => undefined,honor_cipher_order => true,protocol => tls,handshake => full,hibernate_after => 5000,alpn_preferred_protocols => undefined,verify => verify_none,session_tickets => disabled,crl_cache => {ssl_crl_cache,{internal,[]}},renegotiate_at => 268435456,sni_fun => #Fun<ssl.11.5171767>,crl_check => false,certificate_status => undefined,psk_identity => "”,srp_identity => “",signature_algs => [eddsa_ed25519,eddsa_ed448,ecdsa_secp521r1_sha512,ecdsa_secp384r1_sha384,ecdsa_secp256r1_sha256,rsa_pss_pss_sha512,rsa_pss_pss_sha384,rsa_pss_pss_sha256,rsa_pss_rsae_sha512,rsa_pss_rsae_sha384,rsa_pss_rsae_sha256,rsa_pkcs1_sha512,rsa_pkcs1_sha384,rsa_pkcs1_sha256,{sha512,ecdsa},{sha384,ecdsa},{sha256,ecdsa}],secure_renegotiate => true,customize_hostname_check => [],reuse_session => #Fun<ssl.13.5171767>,cacerts => "”,cacertfile => <<“/etc/emqx/certs/cacert.pem”>>,cookie => true,ciphers => [<<19,2>>,<<19,1>>,<<19,3>>,<<19,4>>,<<19,5>>,<<“À,”>>,<<“À0”>>,<<“À$”>>,<<“À(”>>,<<“À.”>>,<<“À2”>>,<<“À&”>>,<<“À*”>>,<<0,163>>,<<0,106>>,<<0,157>>,<<0,61>>,<<“À+”>>,<<“À/”>>,<<“À#”>>,<<“À’”>>,<<“À-”>>,<<“À1”>>,<<“À%”>>,<<“À)”>>,<<0,162>>,<<0,64>>,<<0,156>>,<<0,60>>,<<“À\n”>>,<<192,20>>,<<0,56>>,<<192,5>>,<<192,15>>,<<“À\t”>>,<<192,19>>,<<0,50>>,<<192,4>>,<<192,14>>,<<0,173>>,<<0,183>>,<<0,172>>,<<0,182>>,<<0,149>>,<<0,148>>],max_handshake_size => 131072,early_data => disabled,versions => [{3,4},{3,3}],fail_if_no_peer_cert => false,client_renegotiation => true,anti_replay => undefined,eccs => {elliptic_curves,[{1,3,132,0,39},{1,3,132,0,38},{1,3,132,0,35},{1,3,36,3,3,2,8,1,1,13},{1,3,132,0,36},{1,3,132,0,37},{1,3,36,3,3,2,8,1,1,11},{1,3,132,0,34},{1,3,132,0,16},{1,3,132,0,17},{1,3,36,3,3,2,8,1,1,7},{1,3,132,0,10},{1,2,840,10045,3,1,7}]},supported_groups => {supported_groups,[x25519,x448,secp256r1,secp384r1]},log_level => notice,stateless_tickets_seed => undefined,certs_keys => “",verify_fun => {#Fun<ssl.6.5171767>,[]},user_lookup_fun => {fun emqx_tls_psk:lookup/3,undefined},partial_chain => #Fun<ssl.5.5171767>,key_update_at => 388736063997,honor_ecc_order => false,reuse_sessions => true,dh => "”},{socket_options,binary,0,0,0,false},““,””,not_requested,#{active_n_toggle => false,active_n => 100,change_cipher_spec => ignore,sender => <0.6573414.0>},““,undefined,””,““,””,undefined,{<0.6573406.0>,#Ref<0.1714807856.42205186.118044>},undefined}}}]}].
2024-07-04T23:44:43.653461+05:30 [error] crasher: initial call: ssl_gen_statem:init/1, pid: <0.6573410.0>, registered_name: , error: {function_clause,[{public_key,pkix_decode_cert,[,otp],[{file,“public_key.erl”},{line,524}]},{ssl_handshake,get_cert_params,1,[{file,“ssl_handshake.erl”},{line,1791}]},{tls_handshake_1_3,get_certificate_params,1,[{file,“tls_handshake_1_3.erl”},{line,1552}]},{tls_server_connection_1_3,select_server_cert_key_pair,7,[{file,“tls_server_connection_1_3.erl”},{line,694}]},{tls_server_connection_1_3,do_handle_client_hello,2,[{file,“tls_server_connection_1_3.erl”},{line,440}]},{tls_server_connection_1_3,handle_client_hello,2,[{file,“tls_server_connection_1_3.erl”},{line,380}]},{gen_statem,loop_state_callback,11,[{file,“gen_statem.erl”},{line,1395}]},{tls_connection,init,1,[{file,“tls_connection.erl”},{line,162}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,241}]}]}, ancestors: [<0.6573409.0>,tls_connection_sup,tls_sup,ssl_connection_sup,ssl_sup,<0.2090.0>], message_queue_len: 0, messages: , links: [<0.6573409.0>], dictionary: [{log_level,notice},{ssl_pem_cache,ssl_pem_cache},{ssl_manager,ssl_manager}], trap_exit: true, status: running, heap_size: 46422, stack_size: 28, reductions: 42462; neighbours:

check my log file i got this error so how to slove this error