Zero Trust Certificat on Android

I’m using 1.1.1.1 app from Google Play Store on a Xiaomi Redmi Note 9 (not rooted).

Versions:

  • 1.1.1.1 app: 6.18
  • Android: 13.0.1.0 (SJOMIXM)

Log (native_tunnel.txt):

2022-10-18T15:58:00.430178Z  INFO ThreadId(16) nativetunnel::network: shutdown udp socket: UdpSocket { addr: 192.168.18.5:37210, fd: 71 }
2022-10-18T15:58:00.430209Z  INFO ThreadId(16) nativetunnel::network: calling create_udp_socket() with ipv4: 162.159.193.3, ipv6: 2606:4700:100::a29f:c103, port: 2408
2022-10-18T15:58:00.430218Z  INFO ThreadId(16) nativetunnel::network: creating IPv6 socket: [2606:4700:100::a29f:c103]:2408
2022-10-18T15:58:00.431005Z ERROR ThreadId(16) nativetunnel::network: error connecting IPv6 socket: [2606:4700:100::a29f:c103]:2408
2022-10-18T15:58:00.431332Z  INFO ThreadId(16) nativetunnel::network: creating IPv4 socket: 162.159.193.3:2408
2022-10-18T15:58:00.433377Z  INFO ThreadId(16) nativetunnel::network: connected IPv4 socket: 162.159.193.3:2408
2022-10-18T15:58:00.433461Z  INFO ThreadId(16) nativetunnel::network: using IPv4 since IPv6 is not present.
2022-10-18T15:58:00.433478Z  INFO ThreadId(16) nativetunnel::network: set read time out 500ms for socket: Some(UdpSocket { addr: 192.168.18.5:33986, fd: 71 })
2022-10-18T15:58:00.433500Z  INFO ThreadId(16) nativetunnel::network: doing force handshake.
2022-10-18T15:58:00.433512Z  INFO ThreadId(16) nativetunnel::native_tunnel: using udp socket UdpSocket { addr: 192.168.18.5:33986, fd: 178 } in force_handshake()
2022-10-18T15:58:00.434222Z  INFO ThreadId(16) nativetunnel::native_tunnel: finished force_handshake().
2022-10-18T15:58:00.434267Z  INFO ThreadId(16) nativetunnel::network: waiting for handshake response.
2022-10-18T15:58:00.434279Z  INFO ThreadId(16) nativetunnel::native_tunnel: using udp socket UdpSocket { addr: 192.168.18.5:33986, fd: 178 } in wait_for_handshake_response()
2022-10-18T15:58:00.478409Z  INFO ThreadId(16) nativetunnel::native_tunnel: received handshake response in wait_for_handshake_response().
2022-10-18T15:58:00.478465Z  INFO ThreadId(16) nativetunnel::network: successful handshake response for port 2408.
2022-10-18T15:58:00.478472Z  INFO ThreadId(16) nativetunnel::native_tunnel: Notified threads about valid network in handle_network_change().
2022-10-18T15:58:00.478484Z  INFO ThreadId(16) nativetunnel::native_tunnel: finished handle_network_change().
2022-10-18T15:58:00.478489Z  INFO ThreadId(16) nativetunnel::native_tunnel: Starting connectivity checks on network change.
2022-10-18T15:58:00.478515Z  INFO ThreadId(16) nativetunnel::jni_exported::tunnel: finished handle_network_change().
2022-10-18T15:58:00.478503Z  INFO             udp-read nativetunnel::network: recreating udp socket in udp_read on network change: UdpSocket { addr: 192.168.18.5:37210, fd: 113 }
2022-10-18T15:58:00.478534Z  INFO             udp-read nativetunnel::network: recreated udp socket in udp_read: UdpSocket { addr: 192.168.18.5:33986, fd: 178 }
2022-10-18T15:58:00.479215Z  INFO connectivity-runtime nativetunnel::connectivity_check: Running HTTP URL requests.
2022-10-18T15:58:00.482654Z  INFO                  vif nativetunnel::native_tunnel: UdpSocket { addr: 192.168.18.5:37210, fd: 170 } send error: 32
2022-10-18T15:58:00.482710Z  INFO                  vif nativetunnel::native_tunnel: recreating udp socket UdpSocket { addr: 192.168.18.5:37210, fd: 170 } in write_to_network() on network change.
2022-10-18T15:58:00.482734Z  INFO                  vif nativetunnel::native_tunnel: recreated udp socket UdpSocket { addr: 192.168.18.5:33986, fd: 203 } in write_to_network() on network change.
2022-10-18T15:58:00.897388Z  WARN connectivity-runtime rustls::conn: Sending fatal alert BadCertificate
2022-10-18T15:58:00.897752Z  INFO connectivity-runtime nativetunnel::connectivity_check: invalid response for connectivity check.
2022-10-18T15:58:01.486954Z  INFO ThreadId(18) nativetunnel::jni_exported::tunnel: Reading tunnel stats for diagnostics
2022-10-18T15:58:01.487003Z  INFO ThreadId(18) nativetunnel::native_tunnel: Reading warp stats from native_tunnel
2022-10-18T15:58:01.487952Z  INFO ThreadId(18) nativetunnel::jni_exported::tunnel: Reading tunnel stats for diagnostics
2022-10-18T15:58:01.487982Z  INFO ThreadId(18) nativetunnel::native_tunnel: Reading warp stats from native_tunnel
2022-10-18T15:58:06.169281Z  INFO ThreadId(02) nativetunnel::jni_exported::tunnel: running stop_happy_eyeball_race().
2022-10-18T15:58:06.169363Z  INFO ThreadId(02) nativetunnel::network: stopping happy eyeball race.
2022-10-18T15:58:06.170934Z  INFO ThreadId(02) nativetunnel::jni_exported::tunnel: stopping tunnel.
2022-10-18T15:58:06.171009Z  INFO ThreadId(02) nativetunnel::native_tunnel: calling virtual_interface.stop().
2022-10-18T15:58:06.171027Z  INFO ThreadId(02) nativetunnel::native_tunnel: calling edge_connection.stop().
2022-10-18T15:58:06.171035Z  INFO ThreadId(02) nativetunnel::network: shutdown udp socket: UdpSocket { addr: 192.168.18.5:33986, fd: 71 }
2022-10-18T15:58:06.171094Z  INFO ThreadId(02) nativetunnel::native_tunnel: waiting for main threads to terminate.
2022-10-18T15:58:06.171335Z  INFO             udp-read nativetunnel::network: stopping udp read thread.
2022-10-18T15:58:06.435868Z ERROR                  vif nativetunnel::virtual_interface: intf read error 22 in intf_read().
2022-10-18T15:58:06.435979Z  INFO                  vif nativetunnel::virtual_interface: stopping virtual interface read thread.
2022-10-18T15:58:06.662457Z  INFO            wg-ticker nativetunnel::native_tunnel: stopping ticker thread.
2022-10-18T15:58:06.663947Z  INFO ThreadId(02) nativetunnel::native_tunnel: finished stop_tunnel().

The certificate is installed

I can’t install it in the SYSTEM tab because this smartphone isn’t rooted.

Have you a fix?