Azure IoT Hub Demo on nRF54h20DK + nRF7002EK, problems

Hello, 

I am working on trying to get the Azure IoT Hub Demo working on the nRF54h20DK + nRF7002EK.

Currently, i have succesfully loaded the sample on the an nRF7002DK where i have made connection to my IoT hub. This is all working fine.

Now i have tried porting to the nRF54h20DK + nRF7002EK over SPI with the following overlay:

&gpio1 {
    status = "okay";
};

&pinctrl {
    spi130_default: spi130_default {
        group1 {
            psels = <NRF_PSEL(SPIM_SCK, 1, 1)>,
                    <NRF_PSEL(SPIM_MOSI, 1, 5)>,
                    <NRF_PSEL(SPIM_MISO, 1, 6)>;
        };
    };

    spi130_sleep: spi130_sleep {
        group1 {
            psels = <NRF_PSEL(SPIM_SCK, 1, 1)>,
                    <NRF_PSEL(SPIM_MISO, 1, 6)>,
                    <NRF_PSEL(SPIM_MOSI, 1, 5)>;
        };
    };
};



&spi130 {
    status = "okay";
    pinctrl-0 = <&spi130_default>;
    pinctrl-1 = <&spi130_sleep>;
    pinctrl-names = "default", "sleep";
    cs-gpios = <&gpio1 4 (GPIO_ACTIVE_LOW)>;
    memory-regions = <&cpuapp_dma_region>;

    nrf70: nrf7002-spi@0 {
        compatible = "nordic,nrf7002-spi";
        reg = <0x0>;
        status = "okay";
        spi-max-frequency = <8000000>;
        /delete-property/ srrf-switch-gpios;
        wlan0: wlan0 {
            compatible = "nordic,wlan";
            status = "okay";
        };

        bucken-gpios = <&gpio1 0 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
        host-irq-gpios = <&gpio1 2 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>;
        iovdd-ctrl-gpios = <&gpio1 3 (GPIO_ACTIVE_HIGH)>;
        wifi-max-tx-pwr-2g-dsss = <21>;
        wifi-max-tx-pwr-2g-mcs0 = <16>;
        wifi-max-tx-pwr-2g-mcs7 = <16>;
        wifi-max-tx-pwr-5g-low-mcs0 = <14>;
        wifi-max-tx-pwr-5g-low-mcs7 = <14>;
        wifi-max-tx-pwr-5g-mid-mcs0 = <14>;
        wifi-max-tx-pwr-5g-mid-mcs7 = <14>;
        wifi-max-tx-pwr-5g-high-mcs0 = <14>;
        wifi-max-tx-pwr-5g-high-mcs7 = <14>;
    };
};

Which is working fine, since the WiFi is connecting, however i have a problem which can be seen from my log:

*** Booting nRF Connect SDK v3.3.0-ba167d9f3db4 ***
*** Using Zephyr OS v4.3.99-fd9204a02d52 ***
[00:00:00.756,247] <inf> demo: Starting nrf54h20dk with CPU frequency: 320 MHz
[00:00:00.766,068] <inf> wifi: Starting Wi-Fi task
[00:00:00.773,951] <inf> led_task: Starting LED task
[00:00:00.781,538] <inf> led_task: Received message with event: 0
[00:00:00.790,233] <inf> azure_task: Starting Azure task
[00:00:00.798,135] <inf> azure_task: Received message with event: 0
[00:00:01.773,594] <inf> wifi: Waiting for Wi-Fi to be ready
[00:00:01.781,855] <inf> wifi: Is Wi-Fi ready?: yes
[00:00:03.666,802] <inf> net_wifi_mgmt: Connection requested
[00:00:03.675,464] <inf> wifi: Connection requested
[00:00:03.682,963] <inf> wifi: State: SCANNING
[00:00:03.690,780] <inf> led_task: Received message with event: 1
[00:00:03.700,473] <inf> azure_task: Received message with event: 1
[00:00:07.590,950] <inf> wifi: State: AUTHENTICATING
[00:00:07.892,113] <inf> wifi: Connected
[00:00:07.905,909] <inf> wifi: State: GROUP_HANDSHAKE
[00:00:07.913,552] <inf> wifi: Interface Mode: STATION
[00:00:07.921,295] <inf> wifi: Link Mode: WIFI 6 (802.11ax/HE)
[00:00:07.944,960] <inf> wifi: Band: 5GHz
[00:00:07.951,583] <inf> wifi: Channel: 44
[00:00:07.958,281] <inf> wifi: Security: WPA2-PSK
[00:00:07.965,592] <inf> wifi: MFP: Optional
[00:00:07.972,467] <inf> wifi: RSSI: -64
[00:00:07.988,952] <wrn> net_dhcpv4: DHCP server provided more DNS servers than can be saved
[00:00:08.000,280] <dbg> net_dns_resolve: dns_resolve_init_locked: (rx_q[0]): [0] 10.0.0.235 via wlan0 (DHCP)
[00:00:08.014,115] <dbg> net_dns_resolve: dns_resolve_init_locked: (rx_q[0]): Binding 10.0.0.235 to 1
[00:00:08.029,693] <wrn> net_dhcpv4: DHCP server provided more DNS servers than can be saved
[00:00:08.269,091] <inf> net_dhcpv4: Received: 10.0.0.156
[00:00:08.277,263] <inf> wifi: DHCP IP address: 10.0.0.156
[00:00:08.285,843] <inf> led_task: Received message with event: 2
[00:00:08.295,660] <inf> azure_task: Received message with event: 2
[00:00:13.304,757] <inf> led_task: Received message with event: 4
[00:00:13.313,467] <inf> azure_task: Starting DPS
[00:00:13.320,816] <inf> azure_task: DPS registration status: AZURE_IOT_HUB_DPS_REG_STATUS_NOT_STARTED
[00:00:13.333,990] <dbg> net_dns_resolve: dns_resolve_name_internal: (azure_thread_id): DNS id will be 33899
[00:00:13.346,439] <dbg> net_dns_resolve: dns_write: (azure_thread_id): [0] submitting work to server idx 0 for id 33899 hash 36583
[00:00:13.403,434] <dbg> net_dns_resolve: dns_resolve_name_internal: (azure_thread_id): DNS id will be 37972
[00:00:13.416,031] <dbg> net_dns_resolve: dns_write: (azure_thread_id): [0] submitting work to server idx 0 for id 37972 hash 34599
[00:00:13.497,484] <dbg> net_dns_resolve: dns_write: (net_socket_service): [0] submitting work to server idx 0 for id 37972 hash 39799
[00:00:13.662,061] <err> net_sock_tls: TLS handshake error: -0x2700
[00:00:13.686,503] <err> mqtt_helper: mqtt_connect, error: -113
[00:00:13.695,376] <err> azure_iot_hub_dps: mqtt_helper_connect failed, error: -113
[00:00:13.707,476] <err> azure_task: DPS failed to start, error: -113
[00:00:13.716,836] <err> azure_task: Failed to run DPS, error: -113, terminating connection attempt


The error -0x2700 comes from modules/crypto/mbedtls/library/ssl_tlc.c where x509_verify_cert() return -9984 which gives the flag MBEDTLS_X509_BADCERT_NOT_TRUSTED 

I know the certificate is good, since i used the exact same on the nrf7002dk

I have tried a multitude of different configs and debugging, but i cant see any problems. 

All help would be greatly appreciated

Parents
  • Hi, 

    You can try to debug inside the MBEDTLS stack to figure out what caused the handshake to fail, such as this post 

    Regards,
    Amanda H.

  • We have tried debugging inside the mbedTLS stack on the nrf54h20:

    The error comes from:

            if (!signature_is_good) {
                *flags |= MBEDTLS_X509_BADCERT_NOT_TRUSTED;
            }
    

    In x509_crt_verify_chain() in ssl_tls.c.

    [00:00:12.414,938] <inf> azure_task: Starting DPS
    [00:00:12.422,295] <inf> azure_task: DPS registration status: AZURE_IOT_HUB_DPS_REG_STATUS_NOT_STARTED
    [00:00:12.434,298] <dbg> net_sock_addr: exec_query: (azure_thread_id): Timeout 5000
    [00:00:12.506,265] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f0044e8, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:12.519,800] <dbg> net_sock_addr: dns_resolve_cb: (net_socket_service): dns status: -100
    [00:00:12.531,691] <dbg> net_sock_addr: dns_resolve_cb: (net_socket_service): dns status: -103
    [00:00:12.542,946] <dbg> net_sock_addr: exec_query: (azure_thread_id): Timeout 5000
    [00:00:12.577,884] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f0044e8, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:12.600,307] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f0044e8, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:12.616,134] <dbg> net_sock_addr: dns_resolve_cb: (net_socket_service): dns status: -4
    [00:00:12.623,817] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f0045a8, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:12.646,286] <dbg> net_mqtt: mqtt_connect: Connecting to broker.
    [00:00:12.655,495] <dbg> net_sock_tls: tls_alloc: (azure_thread_id): Allocated TLS context, 0x2f003518
    [00:00:12.667,948] <dbg> net_sock: zsock_socket_internal: (azure_thread_id): socket: ctx=0x2f004668, fd=13
    [00:00:12.680,238] <dbg> net_mqtt_sock_tls: mqtt_client_tls_connect: (azure_thread_id): Created socket 12
    [00:00:12.692,447] <dbg> net_mqtt_sock_tls: mqtt_client_tls_connect: TLS options set: sec_tag_count=1, peer_verify=2, cipher_count=0
    [00:00:12.706,980] <dbg> net_sock_tls: tls_check_credentials: Checking 1 TLS credential tags
    [00:00:12.721,165] <dbg> net_sock_tls: tls_check_cert: mbedtls_x509_crt_parse
    [00:00:12.735,101] <dbg> net_sock_tls: tls_check_cert: mbedtls_x509_crt_parse
    [00:00:12.796,487] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [00:00:12.809,081] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:12.834,521] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_HELLO_REQUEST
    [00:00:12.854,477] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 0 (MBEDTLS_SSL_HELLO_REQUEST) -> 1 (MBEDTLS_SSL_CLIENT_HELLO)
    [00:00:12.872,636] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:12.885,386] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:12.898,065] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_CLIENT_HELLO
    [00:00:12.912,790] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0921: => write client hello
    [00:00:12.926,691] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: dumping 'client hello, random bytes' (32 bytes)
    [00:00:12.942,228] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0000:  37 f1 17 e4 b2 81 0b 68 0d 9a dd b9 06 0d 1d 4a  7......h.......J
    [00:00:12.959,903] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0010:  08 98 f6 08 9c 87 fe 95 6b 1d cc bd cb ea a5 fc  ........k.......
    [00:00:12.977,574] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0512: dumping 'session id' (0 bytes)
    [00:00:12.991,604] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c030, TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:13.009,463] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009f, TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:13.027,146] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09f, TLS-DHE-RSA-WITH-AES-256-CCM
    [00:00:13.044,186] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c028, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384
    [00:00:13.062,071] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 006b, TLS-DHE-RSA-WITH-AES-256-CBC-SHA256
    [00:00:13.079,754] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c014, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA
    [00:00:13.097,354] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0039, TLS-DHE-RSA-WITH-AES-256-CBC-SHA
    [00:00:13.114,786] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a3, TLS-DHE-RSA-WITH-AES-256-CCM-8
    [00:00:13.132,035] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02f, TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256
    [00:00:13.149,902] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009e, TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
    [00:00:13.167,677] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09e, TLS-DHE-RSA-WITH-AES-128-CCM
    [00:00:13.184,715] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c027, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256
    modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0067, TLS-DHE-RSA-WITH-AES-128-CBC-SHA256
    [00:00:13.220,291] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/hersuite: c013, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA
    [00:00:13.237,889] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0033, TLS-DHE-RSA-WITH-AES-128-CBC-SHA
    [00:00:13.255,310] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a2, TLS-DHE-RSA-WITH-AES-128-CCM-8
    [00:00:13.282,702] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009d, TLS-RSA-WITH-AES-256-GCM-SHA384
    [00:00:13.300,204] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09d, TLS-RSA-WITH-AES-256-CCM
    [00:00:13.316,945] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003d, TLS-RSA-WITH-AES-256-CBC-SHA256
    [00:00:13.334,290] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0035, TLS-RSA-WITH-AES-256-CBC-SHA
    [00:00:13.351,376] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c032, TLS-ECDH-RSA-WITH-AES-256-GCM-SHA384
    [00:00:13.369,156] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02a, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA384
    [00:00:13.386,933] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00f, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA
    [00:00:13.404,404] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a1, TLS-RSA-WITH-AES-256-CCM-8
    [00:00:13.421,420] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009c, TLS-RSA-WITH-AES-128-GCM-SHA256
    [00:00:13.438,762] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09c, TLS-RSA-WITH-AES-128-CCM
    [00:00:13.455,501] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003c, TLS-RSA-WITH-AES-128-CBC-SHA256
    [00:00:13.472,803] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 002f, TLS-RSA-WITH-AES-128-CBC-SHA
    [00:00:13.489,914] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c031, TLS-ECDH-RSA-WITH-AES-128-GCM-SHA256
    [00:00:13.507,682] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c029, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA256
    [00:00:13.525,449] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00e, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA
    [00:00:13.542,972] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a0, TLS-RSA-WITH-AES-128-CCM-8
    [00:00:13.559,901] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0388: adding EMPTY_RENEGOTIATION_INFO_SCSV
    [00:00:13.578,922] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0397: client hello, got 33 cipher suites
    [00:00:13.593,423] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0041: client hello, adding server name extension: global.azure-devices-provisioning.net
    [00:00:13.611,881] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0231: client hello, adding supported_groups extension
    [00:00:13.627,378] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0250: got supported group(0017)
    [00:00:13.640,961] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0282: NamedGroup: secp256r1 ( 17 )
    [00:00:13.654,812] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: dumping 'Supported groups extension' (4 bytes)
    [00:00:13.670,282] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: 0000:  00 02 00 17                                      ....
    [00:00:13.686,910] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9518: adding signature_algorithms extension
    [00:00:13.701,274] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [603] ecdsa_secp521r1_sha512
    [00:00:13.716,685] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [603] ecdsa_secp521r1_sha512
    [00:00:13.732,182] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [601] rsa_pkcs1_sha512
    [00:00:13.747,009] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [601] rsa_pkcs1_sha512
    [00:00:13.762,023] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [503] ecdsa_secp384r1_sha384
    [00:00:13.777,375] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [503] ecdsa_secp384r1_sha384
    [00:00:13.792,914] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [501] rsa_pkcs1_sha384
    [00:00:13.807,740] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [501] rsa_pkcs1_sha384
    [00:00:13.822,755] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [403] ecdsa_secp256r1_sha256
    [00:00:13.838,108] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [403] ecdsa_secp256r1_sha256
    [00:00:13.853,646] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [401] rsa_pkcs1_sha256
    [00:00:13.868,475] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [401] rsa_pkcs1_sha256
    [00:00:13.893,072] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0105: client hello, adding supported_point_formats extension
    [00:00:13.909,818] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0272: client hello, adding max_fragment_length extension
    [00:00:13.926,120] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0338: client hello, adding extended_master_secret extension
    [00:00:13.942,682] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0689: client hello, total extension length: 87
    [00:00:13.957,568] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: dumping 'client hello extensions' (87 bytes)
    [00:00:13.972,770] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0000:  00 57 00 00 00 2a 00 28 00 00 25 67 6c 6f 62 61  .W...*.(..%globa
    [00:00:13.990,442] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0010:  6c 2e 61 7a 75 72 65 2d 64 65 76 69 63 65 73 2d  l.azure-devices-
    [00:00:14.008,120] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0020:  70 72 6f 76 69 73 69 6f 6e 69 6e 67 2e 6e 65 74  provisioning.net
    [00:00:14.025,797] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0030:  00 0a 00 04 00 02 00 17 00 0d 00 0e 00 0c 06 03  ................
    [00:00:14.043,474] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0040:  06 01 05 03 05 01 04 03 04 01 00 0b 00 02 01 00  ................
    [00:00:14.061,150] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0050:  00 01 00 01 04 00 17                             .......
    [00:00:14.079,306] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2787: => write handshake message
    [00:00:14.092,970] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2947: => write record
    [00:00:14.105,689] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3031: output record: msgtype = 22, version = [3:3], msglen = 198
    [00:00:14.122,469] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3084: <= write record
    [00:00:14.135,175] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2908: <= write handshake message
    [00:00:14.148,854] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 1 (MBEDTLS_SSL_CLIENT_HELLO) -> 2 (MBEDTLS_SSL_SERVER_HELLO)
    [00:00:14.166,894] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:1014: <= write client hello
    [00:00:14.180,356] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:14.195,609] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: message length: 203, out_left: 203
    [00:00:14.210,721] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2377: ssl->f_send() returned 203 (-0xffffff35)
    [00:00:14.232,138] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2404: <= flush output
    [00:00:14.246,819] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:14.248,799] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f004668, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:14.275,709] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:00:14.289,726] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:14.304,919] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:14.319,745] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 0, nb_want: 5
    [00:00:14.333,270] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 0, nb_want: 5
    [00:00:14.346,601] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:00:14.367,190] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:14.380,078] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3999: input record: msgtype = 22, version = [0x303], msglen = 3380
    [00:00:14.396,456] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:14.409,045] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 5, nb_want: 3385
    [00:00:14.423,292] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 5, nb_want: 3385
    uart:00:14.439,622] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 1360 (-0xfffffab0)
    [00:00:14.450,269] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f004668, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:14.472,299] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 1365, nb_want: 3385
    [00:00:14.488,603] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 1365 (-0xfffffaab)
    [00:00:14.498,191] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f004668, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:14.528,297] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 2730, nb_want: 3385
    [00:00:14.543,212] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 655 (-0xfffffd71)
    [00:00:14.558,933] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:14.580,203] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 3380, type = 2, hslen = 85
    [00:00:14.596,053] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 3380, 0..85 of 85
    [00:00:14.619,462] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 85 + 3295
    [00:00:14.635,372] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:00:14.648,005] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: dumping 'server hello, version' (2 bytes)
    [00:00:14.663,527] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: 0000:  03 03                                            ..
    [00:00:14.680,623] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1291: server hello, current time: 1782369644
    [00:00:14.695,884] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: dumping 'server hello, random bytes' (32 bytes)
    [00:00:14.711,877] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: 0000:  6a 3c cd 6c 38 34 dd b6 7d e3 ae b8 2e 7a f1 e6  j<.l84..}....z..
    [00:00:14.730,078] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: 0010:  c3 78 70 e9 79 85 35 62 44 4f 57 4e 47 52 44 01  .xp.y.5bDOWNGRD.
    [00:00:14.748,302] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1363: server hello, session id len.: 32
    [00:00:14.763,099] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: dumping 'server hello, session id' (32 bytes)
    [00:00:14.778,920] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: 0000:  3c 3c 00 00 9b b0 5d 4b ff 05 e9 a0 dc de 5d 8d  <<....]K......].
    [00:00:14.797,433] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: 0010:  c9 8e fe 66 52 9b 8f 89 14 89 2c 10 6d 1b ed 55  ...fR.....,.m..U
    [00:00:14.819,911] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 2 (MBEDTLS_SSL_SERVER_HELLO) -> 3 (MBEDTLS_SSL_SERVER_CERTIFICATE)
    [00:00:14.838,369] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1388: no session has been resumed
    [00:00:14.852,645] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1391: server hello, chosen ciphersuite: c030
    [00:00:14.867,880] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1392: server hello, compress alg.: 0
    [00:00:14.882,428] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1427: server hello, chosen ciphersuite: TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:14.900,577] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1448: server hello, total extension length: 9
    [00:00:14.916,192] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1518: found extended_master_secret extension
    [00:00:14.931,419] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1466: found renegotiation extension
    [00:00:14.945,867] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1662: <= parse server hello
    [00:00:14.959,885] <wrn> mbedtls: WEST_TOPDIR/modules/cmbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:14.972,593] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:14.985,276] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:00:15.000,518] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8108: => parse certificate
    [00:00:15.013,625] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:15.034,656] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 3295, type = 11, hslen = 2924
    [00:00:15.050,739] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 3295, 0..2924 of 2924
    [00:00:15.074,263] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 2924 + 371
    [00:00:15.090,137] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:00:15.103,277] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9977: Use configuration-specific verification callback
    [00:00:15.127,235] <err> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:10034: x509_verify_cert() returned -9984 (-0x2700)
    [00:00:15.142,473] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5350: => send alert message
    [00:00:15.155,704] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5351: send alert level=2 message=48
    [00:00:15.169,434] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2947: => write record
    [00:00:15.182,154] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3031: output record: msgtype = 21, version = [3:3], msglen = 2
    [00:00:15.198,220] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:15.210,937] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: message length: 7, out_left: 7
    [00:00:15.225,575] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2377: ssl->f_send() returned 7 (-0xfffffff9)
    [00:00:15.248,475] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2404: <= flush output
    [00:00:15.266,815] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3084: <= write record
    [00:00:15.278,656] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f004668, pkt=0, st=0, user_data=0
    [00:00:15.295,020] <dbg> net_sock: zsock_received_cb: (rx_q[0]): Marked socket 0x2f004668 as peer-closed
    [00:00:15.307,215] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5362: <= send alert message
    [00:00:15.320,458] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:10134: ! Certificate verification flags 00000008
    [00:00:15.337,790] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4683: <= handshake
    [00:00:15.350,372] <err> net_sock_tls: TLS handshake error: -0x2700
    [00:00:15.359,531] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 3 (MBEDTLS_SSL_SERVER_CERTIFICATE) -> 0 (MBEDTLS_SSL_HELLO_REQUEST)
    [00:00:15.381,952] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6394: => write close notify
    [00:00:15.395,190] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6405: <= write close notify
    [00:00:15.411,008] <dbg> net_sock: zsock_close_ctx: (azure_thread_id): close: ctx=0x2f004668, fd=13
    [00:00:15.424,744] <err> mqtt_helper: mqtt_connect, error: -113
    [00:00:15.433,665] <err> azure_iot_hub_dps: mqtt_helper_connect failed, error: -113
    [00:00:15.444,180] <err> azure_task: DPS failed to start, error: -113
    [00:00:15.453,605] <err> azure_task: Failed to run DPS, error: -113, terminating connection attempt


    On the nrf7002dk using the same certs there's no error:
    [00:00:18.234,863] <inf> azure_task: Starting DPS
    [00:00:18.235,107] <inf> azure_task: DPS registration status: AZURE_IOT_HUB_DPS_REG_STATUS_NOT_STARTED
    [00:00:27.114,959] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [00:00:27.115,020] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.115,051] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.115,142] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_HELLO_REQUEST
    [00:00:27.115,234] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 0 (MBEDTLS_SSL_HELLO_REQUEST) -> 1 (MBEDTLS_SSL_CLIENT_HELLO)
    [00:00:27.115,295] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.115,325] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.115,386] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_CLIENT_HELLO
    [00:00:27.115,447] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0921: => write client hello
    [00:00:27.115,722] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: dumping 'client hello, random bytes' (32 bytes)
    [00:00:27.116,027] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0000:  c5 f0 77 14 77 7e 2b c9 20 d0 ce b4 ae 3b 65 34  ..w.w~+. ....;e4
    [00:00:27.116,302] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0010:  92 7a 60 65 07 e2 33 6c 66 e3 59 2a f2 01 6d ed  .z`e..3lf.Y*..m.
    [00:00:27.116,363] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0512: dumping 'session id' (0 bytes)
    [00:00:27.116,455] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02c, TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384
    [00:00:27.116,577] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c030, TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.116,668] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009f, TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.116,790] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0ad, TLS-ECDHE-ECDSA-WITH-AES-256-CCM
    [00:00:27.116,882] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09f, TLS-DHE-RSA-WITH-AES-256-C:.116,973] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c024, TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384
    [00:00:27.117,095] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c028, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384
    [00:00:27.117,187] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 006b, TLS-DHE-RSA-WITH-AES-256-CBC-SHA256
    [00:00:27.117,279] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00a, TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA
    [00:00:27.117,401] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c014, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA
    [00:00:27.117,492] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0039, TLS-DHE-RSA-WITH-AES-256-CBC-SHA
    [00:00:27.117,584] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0af, TLS-ECDHE-ECDSA-WITH-AES-256-CCM-8
    [00:00:27.117,706] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a3, TLS-DHE-RSA-WITH-AES-256-CCM-8
    [00:00:27.117,797] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02b, TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
    [00:00:27.117,919] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02f, TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256
    [00:00:27.118,011] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009e, TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
    [00:00:27.118,103] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0ac, TLS-ECDHE-ECDSA-WITH-AES-128-CCM
    [00:00:27.118,194] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09e, TLS-DHE-RSA-WITH-AES-128-CCM
    [00:00:27.118,316] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c023, TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256
    [00:00:27.118,408] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c027, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256
    [00:00:27.118,530] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0067, TLS-DHE-RSA-WITH-AES-128-CBC-SHA256
    [00:00:27.118,621] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c009, TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA
    [00:00:27.118,713] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c013, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA
    [00:00:27.118,804] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0033, TLS-DHE-RSA-WITH-AES-128-CBC-SHA
    [00:00:27.118,927] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0ae, TLS-ECDHE-ECDSA-WITH-AES-128-CCM-8
    [00:00:27.119,018] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a2, TLS-DHE-RSA-WITH-AES-128-CCM-8
    [00:00:27.119,232] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009d, TLS-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.119,354] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09d, TLS-RSA-WITH-AES-256-CCM
    [00:00:27.119,445] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003d, TLS-RSA-WITH-AES-256-CBC-SHA256
    [00:00:27.119,537] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0035, TLS-RSA-WITH-AES-256-CBC-SHA
    [00:00:27.119,659] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c032, TLS-ECDH-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.119,750] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02a, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA384
    [00:00:27.119,873] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00f, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA
    [00:00:27.119,995] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02e, TLS-ECDH-ECDSA-WITH-AES-256-GCM-SHA384
    [00:00:27.120,086] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c026, TLS-ECDH-ECDSA-WITH-AES-256-CBC-SHA384
    [00:00:27.120,208] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c005, TLS-ECDH-ECDSA-WITH-AES-256-CBC-SHA
    [00:00:27.120,300] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a1, TLS-RSA-WITH-AES-256-CCM-8
    [00:00:27.120,391] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009c, TLS-RSA-WITH-AES-128-GCM-SHA256
    [00:00:27.120,513] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09c, TLS-RSA-WITH-AES-128-CCM
    [00:00:27.120,605] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003c, TLS-RSA-WITH-AES-128-CBC-SHA256
    [00:00:27.120,697] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 002f, TLS-RSA-WITH-AES-128-CBC-SHA
    [00:00:27.120,819] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c031, TLS-ECDH-RSA-WITH-AES-128-GCM-SHA256
    [00:00:27.120,910] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c029, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA256
    [00:00:27.121,032] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00e, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA
    [00:00:27.121,154] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02d, TLS-ECDH-ECDSA-WITH-AES-128-GCM-SHA256
    [00:00:27.121,246] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c025, TLS-ECDH-ECDSA-WITH-AES-128-CBC-SHA256
    [00:00:27.121,368] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c004, TLS-ECDH-ECDSA-WITH-AES-128-CBC-SHA
    [00:00:27.121,459] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a0, TLS-RSA-WITH-AES-128-CCM-8
    [00:00:27.121,643] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0388: adding EMPTY_RENEGOTIATION_INFO_SCSV
    [00:00:27.121,704] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0397: client hello, got 49 cipher suites
    [00:00:27.121,826] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0041: client hello, adding server name extension: global.azure-devices-provisioning.net
    [00:00:27.121,887] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0231: client hello, adding supported_groups extension
    [00:00:27.121,948] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0250: got supported group(0017)
    [00:00:27.122,009] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0282: NamedGroup: secp256r1 ( 17 )
    [00:00:27.122,100] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: dumping 'Supported groups extension' (4 bytes)
    [00:00:27.122,283] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: 0000:  00 02 00 17                                      ....
    [00:00:27.122,344] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9518: adding signature_algorithms extension
    [00:00:27.122,406] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [603] ecdsa_secp521r1_sha512
    [00:00:27.122,497] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [603] ecdsa_secp521r1_sha512
    [00:00:27.122,589] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [601] rsa_pkcs1_sha512
    [00:00:27.122,650] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [601] rsa_pkcs1_sha512
    [00:00:27.122,741] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [503] ecdsa_secp384r1_sha384
    [00:00:27.122,833] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [503] ecdsa_secp384r1_sha384
    [00:00:27.122,894] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [501] rsa_pkcs1_sha384
    [00:00:27.122,985] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [501] rsa_pkcs1_sha384
    [00:00:27.123,046] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [403] ecdsa_secp256r1_sha256
    [00:00:27.123,138] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [403] ecdsa_secp256r1_sha256
    [00:00:27.123,229] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [401] rsa_pkcs1_sha256
    [00:00:27.123,291] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [401] rsa_pkcs1_sha256
    [00:00:27.123,382] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0105: client hello, adding supported_point_formats extension
    [00:00:27.123,443] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0338: client hello, adding extended_master_secret extension
    [00:00:27.123,504] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0689: client hello, total extension length: 82
    [00:00:27.123,596] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: dumping 'client hello extensions' (82 bytes)
    [00:00:27.123,870] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0000:  00 52 00 00 00 2a 00 28 00 00 25 67 6c 6f 62 61  .R...*.(..%globa
    [00:00:27.124,145] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0010:  6c 2e 61 7a 75 72 65 2d 64 65 76 69 63 65 73 2d  l.azure-devices-
    [00:00:27.124,420] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0020:  70 72 6f 76 69 73 69 6f 6e 69 6e 67 2e 6e 65 74  provisioning.net
    [00:00:27.124,694] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0030:  00 0a 00 04 00 02 00 17 00 0d 00 0e 00 0c 06 03  ................
    [00:00:27.124,938] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0040:  06 01 05 03 05 01 04 03 04 01 00 0b 00 02 01 00  ................
    [00:00:27.125,122] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0050:  00 17                                            ..
    [00:00:27.125,793] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2787: => write handshake message
    [00:00:27.125,854] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2947: => write record
    [00:00:27.125,946] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3031: output record: msgtype = 22, version = [3:3], msglen = 225
    [00:00:27.129,486] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3084: <= write record
    [00:00:27.129,547] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2908: <= write handshake message
    [00:00:27.129,669] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 1 (MBEDTLS_SSL_CLIENT_HELLO) -> 2 (MBEDTLS_SSL_SERVER_HELLO)
    [00:00:27.129,699] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:1014: <= write client hello
    [00:00:27.129,760] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.129,882] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: message length: 230, out_left: 230
    [00:00:27.131,103] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2377: ssl->f_send() returned 230 (-0xffffff1a)
    [00:00:27.131,164] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2404: <= flush output
    [00:00:27.131,225] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:27.131,256] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbees/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.131,408] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/ladshake
    [00:00:27.157,257] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [0n> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:27.157,470] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:00:27.157,501] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:27.157,562] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.157,623] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 0, nb_want: 5
    [00:00:27.157,745] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 0, nb_want: 5
    [00:00:27.157,836] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:00:27.157,867] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:27.158,172] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3999: input record: msgtype = 22, version = [0x303], msglen = 3380
    [00:00:27.158,203] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.158,294] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 5, nb_want: 3385
    [00:00:27.159,973] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 5, nb_want: 3385
    [00:00:27.160,095] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 1360 (-0xfffffab0)
    [00:00:27.160,186] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 1365, nb_want: 3385
    [00:00:27.160,247] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4683: <= handshake
    [00:00:27.183,197] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [00:00:27.183,258] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.183,288] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.183,380] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:27.183,410] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:00:27.183,471] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:27.183,502] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.183,563] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 1365, nb_want: 5
    [00:00:27.183,624] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:27.183,929] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3999: input record: msgtype = 22, version = [0x303], msglen = 3380
    [00:00:27.183,959] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.184,020] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 1365, nb_want: 3385
    [00:00:27.185,760] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 1365, nb_want: 3385
    [00:00:27.185,852] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 1365 (-0xfffffaab)
    [00:00:27.185,943] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 2730, nb_want: 3385
    [00:00:27.186,004] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4683: <= handshake
    [00:00:27.211,730] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [00:00:27.211,791] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.211,822] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.211,914] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:27.211,944] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:00:27.212,005] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:27.212,036] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.212,097] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 2730, nb_want: 5
    [00:00:27.212,158] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:27.212,463] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3999: input record: msgtype = 22, version = [0x303], msglen = 3380
    [00:00:27.212,493] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.212,554] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 2730, nb_want: 3385
    [00:00:27.214,202] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 2730, nb_want: 3385
    [00:00:27.214,294] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 655 (-0xfffffd71)
    [00:00:27.214,355] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:27.267,028] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 3380, type = 2, hslen = 85
    [00:00:27.267,120] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 3380, 0..85 of 85
    [00:00:27.318,511] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 85 + 3295
    [00:00:27.318,939] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:00:27.319,030] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: dumping 'server hello, version' (2 bytes)
    [00:00:27.319,183] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: 0000:  03 03                                            ..
    [00:00:27.319,274] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1291: server hello, current time: 1782291955
    [00:00:27.319,366] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: dumping 'server hello, random bytes' (32 bytes)
    [00:00:27.319,641] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: 0000:  6a 3b 9d f3 7c 69 51 e2 2f da 5b d0 17 ad 40 12  j;..|iQ./.[...@.
    [00:00:27.319,915] <inf> mbedtls: WEST_TOPDIR/modulesinf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1363: server hello, session id len.: 32
    [00:00:27.320,068] < WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: dumping 'server hello, session id' (32 bytes)
    [00:00:27.320,343] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: 0000:  41 2d 00 00 47 dc 7a 52 32 9c 9f 71 49 78 f4 02  A-..G.zR2..qIx..
    [00:00:27.320,648] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: 0010:  e2 22 7d 50 86 d3 63 b2 c1 83 25 91 99 4f 7c a8  ."}P..c...%..O|.
    [00:00:27.320,739] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 2 (MBEDTLS_SSL_SERVER_HELLO) -> 3 (MBEDTLS_SSL_SERVER_CERTIFICATE)
    [00:00:27.320,800] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1388: no session has been resumed
    [00:00:27.320,861] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1391: server hello, chosen ciphersuite: c030
    [00:00:27.320,922] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1392: server hello, compress alg.: 0
    [00:00:27.321,014] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1427: server hello, chosen ciphersuite: TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.321,105] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1448: server hello, total extension length: 9
    [00:00:27.321,166] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1518: found extended_master_secret extension
    [00:00:27.321,197] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1466: found renegotiation extension
    [00:00:27.321,258] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1662: <= parse server hello
    [00:00:27.321,319] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.321,350] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.321,411] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:00:27.321,472] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8108: => parse certificate
    [00:00:27.321,502] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:27.377,777] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 3295, type = 11, hslen = 2924
    [00:00:27.377,868] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 3295, 0..2924 of 2924
    [00:00:27.427,978] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 2924 + 371
    [00:00:27.431,793] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:09:58.716,888] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9977: Use configuration-specific verification callback
    [00:10:39.273,223] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:10137: Certificate verification flags clear
    [00:10:39.273,254] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8222: <= parse certificate
    [00:10:39.273,376] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 3 (MBEDTLS_SSL_SERVER_CERTIFICATE) -> 4 (MBEDTLS_SSL_SERVER_KEY_EXCHANGE)
    [00:10:39.273,437] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:10:39.273,468] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:10:39.273,559] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_KEY_EXCHANGE
    [00:10:39.273,590] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2130: => parse server key exchange
    [00:10:39.273,651] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:10:39.279,479] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 371, type = 12, hslen = 333
    [00:10:39.279,571] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 371, 0..333 of 333
    [00:10:39.285,400] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 333 + 38
    [00:10:39.285,888] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:10:39.285,949] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: dumping 'server key exchange' (329 bytes)
    [00:10:39.286,254] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0000:  03 00 17 41 04 1c 10 34 0a 9c a6 84 c7 7c 51 17  ...A...4.....|Q.
    [00:10:39.286,529] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0010:  6c 7e 7a 3c 41 a9 6e 86 af 64 06 d7 37 a1 5a b8  l~z<A.n..d..7.Z.
    [00:10:39.286,804] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0020:  9f 52 57 41 cf f9 c5 16 d6 d3 46 02 a9 aa 25 4e  .RWA......F...%N
    [00:10:39.287,078] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0030:  d7 91 cc fa 2f 79 95 8e e5 46 a1 3d 46 08 94 98  ..../y...F.=F...
    [00:10:39.287,353] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0040:  6e 0d 08 09 d7 04 01 01 00 44 fb 0e 93 b5 f6 6a  n........D.....j
    [00:10:39.287,628] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0050:  41 f5 50 a7 a3 f5 7e 65 39 d6 69 3f a3 38 49 76  A.P...~e9.i?.8Iv
    [00:10:39.287,933] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0060:  10 2f 64 b0 51 24 e8 ea 82 fa 8e c2 b0 87 01 80  ./d.Q$..........
    [00:10:39.288,208] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0070:  d8 10 d0 32 7e 0e 0b f4 e5 99 ad f5 8f 0d bb 19  ...2~...........
    [00:10:39.288,482] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0080:  68 c8 85 61 a1 a6 88 a0 a0 ea 71 c7 37 9e 82 ff  h..a......q.7...
    [00:10:39.288,757] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0090:  7d 0e 1c af ce e6 ae d5 9c eb ff d4 1c 6d 3d d6  }............m=.
    [00:10:39.289,062] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00a0:  89 90 6d 2d 9b d1 8b 1e 1c eb 7c 8e 0b f9 b0 b2  ..m-......|.....
    [00:10:39.289,337] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00b0:  51 1c 75 35 49 86 5c 04 65 93 ac 1a fb 15 49 56  Q.u5I.\.e.....IV
    [00:10:39.289,611] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00c0:  93 36 3e d0 8e fa 2b b2 65 e5 fb 13 32 b4 2a 80  .6>...+.e...2.*.
    [00:10:39.289,916] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00d0:  65 b6 90 e3 80 54 6d 93 33 c5 e7 dc f5 fd 6b ed  e....Tm.3.....k.
    [00:10:39.290,191] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00e0:  b2 c1 f0 47 60 e8 3b 6e b0 d6 c1 cc d9 cd 22 b4  ...G`.;n......".
    [00:10:39.290,466] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00f0:  c1 63 8b 11 35 63 c4 84 b9 48 92 81 52 14 08 1a  .c..5c...H..R...
    [00:10:39.290,740] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0100:  4f 42 b0 d9 d3 ca 76 7d 97 bf c8 e7 bc 83 0c ec  OB....v}........
    [00:10:39.291,046] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0110:  6d 1b ef 0b 66 e4 de 57 b1 a1 61 19 43 69 02 94  m...f..W..a.Ci..
    [00:10:39.291,320] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0120:  15 f0 1b 54 2e 41 6a 9a 9a b3 e1 37 db 1f e6 c3  ...T.Aj....7....
    [00:10:39.291,595] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0130:  e6 64 59 bb cf c3 25 7d 8c 55 ab 8a 5e d7 3f eb  .dY...%}.U..^.?.
    [00:10:39.291,839] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0140:  9a a7 30 d4 a6 16 a8 6c ee                       ..0....l.
    [00:10:39.291,900] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2115: Server used SignatureAlgorithm 1
    [00:10:39.291,961] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2116: Server used HashAlgorithm 4
    [00:10:39.292,053] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: dumping 'signature' (256 bytes)
    [00:10:39.292,327] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0000:  44 fb 0e 93 b5 f6 6a 41 f5 50 a7 a3 f5 7e 65 39  D.....jA.P...~e9
    [00:10:39.292,602] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0010:  d6 69 3f a3 38 49 76 10 2f 64 b0 51 24 e8 ea 82  .i?.8Iv./d.Q$...
    [00:10:39.292,877] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0020:  fa 8e c2 b0 87 01 80 d8 10 d0 32 7e 0e 0b f4 e5  ..........2~....
    [00:10:39.293,182] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0030:  99 ad f5 8f 0d bb 19 68 c8 85 61 a1 a6 88 a0 a0  .......h..a.....
    [00:10:39.293,457] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0040:  ea 71 c7 37 9e 82 ff 7d 0e 1c af ce e6 ae d5 9c  .q.7...}........
    [00:10:39.293,731] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0050:  eb ff d4 1c 6d 3d d6 89 90 6d 2d 9b d1 8b 1e 1c  ....m=...m-.....
    [00:10:39.294,006] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0060:  eb 7c 8e 0b f9 b0 b2 51 1c 75 35 49 86 5c 04 65  .|.....Q.u5I.\.e
    [00:10:39.294,311] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0070:  93 ac 1a fb 15 49 56 93 36 3e d0 8e fa 2b b2 65  .....IV.6>...+.e
    [00:10:39.294,586] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0080:  e5 fb 13 32 b4 2a 80 65 b6 90 e3 80 54 6d 93 33  ...2.*.e....Tm.3
    [00:10:39.294,860] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0090:  c5 e7 dc f5 fd 6b ed b2 c1 f0 47 60 e8 3b 6e b0  .....k....G`.;n.
    [00:10:39.295,166] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00a0:  d6 c1 cc d9 cd 22 b4 c1 63 8b 11 35 63 c4 84 b9  ....."..c..5c...
    [00:10:39.295,440] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00b0:  48 92 81 52 14 08 1a 4f 42 b0 d9 d3 ca 76 7d 97  H..R...OB....v}.
    [00:10:39.295,715] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00c0:  bf c8 e7 bc 83 0c ec 6d 1b ef 0b 66 e4 de 57 b1  .......m...f..W.
    [00:10:39.295,989] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00d0:  a1 61 19 43 69 02 94 15 f0 1b 54 2e 41 6a 9a 9a  .a.Ci.....T.Aj..
    [00:10:39.296,264] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00e0:  b3 e1 37 db 1f e6 c3 e6 64 59 bb cf c3 25 7d 8c  ..7.....dY...%}.
    [00:10:39.296,569] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00f0:  55 ab 8a 5e d7 3f eb 9a a7 30 d4 a6 16 a8 6c ee  U..^.?...0....l.
    [00:10:39.296,630] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9261: Perform PSA-based computation of digest of ServerKeyExchange
    [00:10:39.297,210] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2425: dumping 'parameters hash' (32 bytes)
    [00:10:39.297,485] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2425: 0000:  52 40 0b 7e a0 28 21 b3 57 39 47 bb d7 0d 3a 48  R@.~.(!.W9G...:H
    [00:10:39.297,790] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2425: 0010:  52 1e df 5b b7 c9 17 33 d2 a1 9b ce 0c c0 41 5b  R..[...3......A[
    [00:10:39.311,950] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 4 (MBEDTLS_SSL_SERVER_KEY_EXCHANGE) -> 5 (MBEDTLS_SSL_CERTIFICATE_REQUEST)
    [00:10:39.311,981] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2496: <= parse server key exchange
    [00:10:39.312,042] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:10:39.312,072] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:10:39.312,164] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_CERTIFICATE_REQUEST
    [00:10:39.312,194] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2535: => parse certificate request
    [00:10:39.312,255] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:10:39.312,988] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 38, type = 13, hslen = 34
    [00:10:39.313,079] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 38, 0..34 of 34
    [00:10:39.313,842] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 34 + 4
    [00:10:39.314,147] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:10:39.314,270] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 5 (MBEDTLS_SSL_CERTIFICATE_REQUEST) -> 6 (MBEDTLS_SSL_SERVER_HELLO_DONE)
    [00:10:39.314,300] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2561: got a certificate request
    [00:10:39.314,392] <inf> mbedtls: WEST_TOPDIR/modules/cry50: Supported Signature Algorithm found: 04 01
    [00:10:39.314,453] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/sslEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2650: Supported Signature Algorithm found: 04 03
    [00:10:39.314,697] <inf>]<inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2650: Supported Signature Algorithm found: 02 0ulgorithm found: 06 03
    [00:10:39.315,063] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2650: Supported Signaturebedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2697: <= parse certificate request
    [00:10:39.315,246] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:10:39.315,277] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:10:39.315,338] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO_DONE
    [00:10:39.315,399] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2708: => parse server hello done
    [00:10:39.315,460] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:10:39.315,734] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 4, type = 14, hslen = 4
    [00:10:39.315,795] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 4, 0..4 of 4
    [00:10:39.316,162] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:10:39.316,284] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 6 (MBEDTLS_SSL_SERVER_HELLO_DONE) -> 7 (MBEDTLS_SSL_CLIENT_CERTIFICATE)

Reply
  • We have tried debugging inside the mbedTLS stack on the nrf54h20:

    The error comes from:

            if (!signature_is_good) {
                *flags |= MBEDTLS_X509_BADCERT_NOT_TRUSTED;
            }
    

    In x509_crt_verify_chain() in ssl_tls.c.

    [00:00:12.414,938] <inf> azure_task: Starting DPS
    [00:00:12.422,295] <inf> azure_task: DPS registration status: AZURE_IOT_HUB_DPS_REG_STATUS_NOT_STARTED
    [00:00:12.434,298] <dbg> net_sock_addr: exec_query: (azure_thread_id): Timeout 5000
    [00:00:12.506,265] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f0044e8, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:12.519,800] <dbg> net_sock_addr: dns_resolve_cb: (net_socket_service): dns status: -100
    [00:00:12.531,691] <dbg> net_sock_addr: dns_resolve_cb: (net_socket_service): dns status: -103
    [00:00:12.542,946] <dbg> net_sock_addr: exec_query: (azure_thread_id): Timeout 5000
    [00:00:12.577,884] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f0044e8, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:12.600,307] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f0044e8, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:12.616,134] <dbg> net_sock_addr: dns_resolve_cb: (net_socket_service): dns status: -4
    [00:00:12.623,817] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f0045a8, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:12.646,286] <dbg> net_mqtt: mqtt_connect: Connecting to broker.
    [00:00:12.655,495] <dbg> net_sock_tls: tls_alloc: (azure_thread_id): Allocated TLS context, 0x2f003518
    [00:00:12.667,948] <dbg> net_sock: zsock_socket_internal: (azure_thread_id): socket: ctx=0x2f004668, fd=13
    [00:00:12.680,238] <dbg> net_mqtt_sock_tls: mqtt_client_tls_connect: (azure_thread_id): Created socket 12
    [00:00:12.692,447] <dbg> net_mqtt_sock_tls: mqtt_client_tls_connect: TLS options set: sec_tag_count=1, peer_verify=2, cipher_count=0
    [00:00:12.706,980] <dbg> net_sock_tls: tls_check_credentials: Checking 1 TLS credential tags
    [00:00:12.721,165] <dbg> net_sock_tls: tls_check_cert: mbedtls_x509_crt_parse
    [00:00:12.735,101] <dbg> net_sock_tls: tls_check_cert: mbedtls_x509_crt_parse
    [00:00:12.796,487] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [00:00:12.809,081] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:12.834,521] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_HELLO_REQUEST
    [00:00:12.854,477] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 0 (MBEDTLS_SSL_HELLO_REQUEST) -> 1 (MBEDTLS_SSL_CLIENT_HELLO)
    [00:00:12.872,636] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:12.885,386] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:12.898,065] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_CLIENT_HELLO
    [00:00:12.912,790] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0921: => write client hello
    [00:00:12.926,691] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: dumping 'client hello, random bytes' (32 bytes)
    [00:00:12.942,228] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0000:  37 f1 17 e4 b2 81 0b 68 0d 9a dd b9 06 0d 1d 4a  7......h.......J
    [00:00:12.959,903] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0010:  08 98 f6 08 9c 87 fe 95 6b 1d cc bd cb ea a5 fc  ........k.......
    [00:00:12.977,574] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0512: dumping 'session id' (0 bytes)
    [00:00:12.991,604] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c030, TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:13.009,463] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009f, TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:13.027,146] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09f, TLS-DHE-RSA-WITH-AES-256-CCM
    [00:00:13.044,186] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c028, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384
    [00:00:13.062,071] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 006b, TLS-DHE-RSA-WITH-AES-256-CBC-SHA256
    [00:00:13.079,754] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c014, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA
    [00:00:13.097,354] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0039, TLS-DHE-RSA-WITH-AES-256-CBC-SHA
    [00:00:13.114,786] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a3, TLS-DHE-RSA-WITH-AES-256-CCM-8
    [00:00:13.132,035] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02f, TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256
    [00:00:13.149,902] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009e, TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
    [00:00:13.167,677] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09e, TLS-DHE-RSA-WITH-AES-128-CCM
    [00:00:13.184,715] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c027, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256
    modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0067, TLS-DHE-RSA-WITH-AES-128-CBC-SHA256
    [00:00:13.220,291] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/hersuite: c013, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA
    [00:00:13.237,889] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0033, TLS-DHE-RSA-WITH-AES-128-CBC-SHA
    [00:00:13.255,310] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a2, TLS-DHE-RSA-WITH-AES-128-CCM-8
    [00:00:13.282,702] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009d, TLS-RSA-WITH-AES-256-GCM-SHA384
    [00:00:13.300,204] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09d, TLS-RSA-WITH-AES-256-CCM
    [00:00:13.316,945] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003d, TLS-RSA-WITH-AES-256-CBC-SHA256
    [00:00:13.334,290] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0035, TLS-RSA-WITH-AES-256-CBC-SHA
    [00:00:13.351,376] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c032, TLS-ECDH-RSA-WITH-AES-256-GCM-SHA384
    [00:00:13.369,156] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02a, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA384
    [00:00:13.386,933] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00f, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA
    [00:00:13.404,404] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a1, TLS-RSA-WITH-AES-256-CCM-8
    [00:00:13.421,420] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009c, TLS-RSA-WITH-AES-128-GCM-SHA256
    [00:00:13.438,762] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09c, TLS-RSA-WITH-AES-128-CCM
    [00:00:13.455,501] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003c, TLS-RSA-WITH-AES-128-CBC-SHA256
    [00:00:13.472,803] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 002f, TLS-RSA-WITH-AES-128-CBC-SHA
    [00:00:13.489,914] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c031, TLS-ECDH-RSA-WITH-AES-128-GCM-SHA256
    [00:00:13.507,682] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c029, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA256
    [00:00:13.525,449] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00e, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA
    [00:00:13.542,972] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a0, TLS-RSA-WITH-AES-128-CCM-8
    [00:00:13.559,901] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0388: adding EMPTY_RENEGOTIATION_INFO_SCSV
    [00:00:13.578,922] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0397: client hello, got 33 cipher suites
    [00:00:13.593,423] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0041: client hello, adding server name extension: global.azure-devices-provisioning.net
    [00:00:13.611,881] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0231: client hello, adding supported_groups extension
    [00:00:13.627,378] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0250: got supported group(0017)
    [00:00:13.640,961] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0282: NamedGroup: secp256r1 ( 17 )
    [00:00:13.654,812] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: dumping 'Supported groups extension' (4 bytes)
    [00:00:13.670,282] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: 0000:  00 02 00 17                                      ....
    [00:00:13.686,910] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9518: adding signature_algorithms extension
    [00:00:13.701,274] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [603] ecdsa_secp521r1_sha512
    [00:00:13.716,685] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [603] ecdsa_secp521r1_sha512
    [00:00:13.732,182] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [601] rsa_pkcs1_sha512
    [00:00:13.747,009] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [601] rsa_pkcs1_sha512
    [00:00:13.762,023] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [503] ecdsa_secp384r1_sha384
    [00:00:13.777,375] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [503] ecdsa_secp384r1_sha384
    [00:00:13.792,914] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [501] rsa_pkcs1_sha384
    [00:00:13.807,740] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [501] rsa_pkcs1_sha384
    [00:00:13.822,755] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [403] ecdsa_secp256r1_sha256
    [00:00:13.838,108] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [403] ecdsa_secp256r1_sha256
    [00:00:13.853,646] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [401] rsa_pkcs1_sha256
    [00:00:13.868,475] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [401] rsa_pkcs1_sha256
    [00:00:13.893,072] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0105: client hello, adding supported_point_formats extension
    [00:00:13.909,818] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0272: client hello, adding max_fragment_length extension
    [00:00:13.926,120] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0338: client hello, adding extended_master_secret extension
    [00:00:13.942,682] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0689: client hello, total extension length: 87
    [00:00:13.957,568] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: dumping 'client hello extensions' (87 bytes)
    [00:00:13.972,770] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0000:  00 57 00 00 00 2a 00 28 00 00 25 67 6c 6f 62 61  .W...*.(..%globa
    [00:00:13.990,442] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0010:  6c 2e 61 7a 75 72 65 2d 64 65 76 69 63 65 73 2d  l.azure-devices-
    [00:00:14.008,120] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0020:  70 72 6f 76 69 73 69 6f 6e 69 6e 67 2e 6e 65 74  provisioning.net
    [00:00:14.025,797] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0030:  00 0a 00 04 00 02 00 17 00 0d 00 0e 00 0c 06 03  ................
    [00:00:14.043,474] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0040:  06 01 05 03 05 01 04 03 04 01 00 0b 00 02 01 00  ................
    [00:00:14.061,150] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0050:  00 01 00 01 04 00 17                             .......
    [00:00:14.079,306] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2787: => write handshake message
    [00:00:14.092,970] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2947: => write record
    [00:00:14.105,689] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3031: output record: msgtype = 22, version = [3:3], msglen = 198
    [00:00:14.122,469] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3084: <= write record
    [00:00:14.135,175] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2908: <= write handshake message
    [00:00:14.148,854] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 1 (MBEDTLS_SSL_CLIENT_HELLO) -> 2 (MBEDTLS_SSL_SERVER_HELLO)
    [00:00:14.166,894] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:1014: <= write client hello
    [00:00:14.180,356] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:14.195,609] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: message length: 203, out_left: 203
    [00:00:14.210,721] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2377: ssl->f_send() returned 203 (-0xffffff35)
    [00:00:14.232,138] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2404: <= flush output
    [00:00:14.246,819] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:14.248,799] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f004668, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:14.275,709] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:00:14.289,726] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:14.304,919] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:14.319,745] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 0, nb_want: 5
    [00:00:14.333,270] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 0, nb_want: 5
    [00:00:14.346,601] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:00:14.367,190] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:14.380,078] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3999: input record: msgtype = 22, version = [0x303], msglen = 3380
    [00:00:14.396,456] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:14.409,045] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 5, nb_want: 3385
    [00:00:14.423,292] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 5, nb_want: 3385
    uart:00:14.439,622] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 1360 (-0xfffffab0)
    [00:00:14.450,269] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f004668, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:14.472,299] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 1365, nb_want: 3385
    [00:00:14.488,603] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 1365 (-0xfffffaab)
    [00:00:14.498,191] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f004668, pkt=0x2f053e9c, st=0, user_data=0
    [00:00:14.528,297] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 2730, nb_want: 3385
    [00:00:14.543,212] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 655 (-0xfffffd71)
    [00:00:14.558,933] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:14.580,203] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 3380, type = 2, hslen = 85
    [00:00:14.596,053] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 3380, 0..85 of 85
    [00:00:14.619,462] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 85 + 3295
    [00:00:14.635,372] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:00:14.648,005] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: dumping 'server hello, version' (2 bytes)
    [00:00:14.663,527] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: 0000:  03 03                                            ..
    [00:00:14.680,623] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1291: server hello, current time: 1782369644
    [00:00:14.695,884] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: dumping 'server hello, random bytes' (32 bytes)
    [00:00:14.711,877] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: 0000:  6a 3c cd 6c 38 34 dd b6 7d e3 ae b8 2e 7a f1 e6  j<.l84..}....z..
    [00:00:14.730,078] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: 0010:  c3 78 70 e9 79 85 35 62 44 4f 57 4e 47 52 44 01  .xp.y.5bDOWNGRD.
    [00:00:14.748,302] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1363: server hello, session id len.: 32
    [00:00:14.763,099] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: dumping 'server hello, session id' (32 bytes)
    [00:00:14.778,920] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: 0000:  3c 3c 00 00 9b b0 5d 4b ff 05 e9 a0 dc de 5d 8d  <<....]K......].
    [00:00:14.797,433] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: 0010:  c9 8e fe 66 52 9b 8f 89 14 89 2c 10 6d 1b ed 55  ...fR.....,.m..U
    [00:00:14.819,911] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 2 (MBEDTLS_SSL_SERVER_HELLO) -> 3 (MBEDTLS_SSL_SERVER_CERTIFICATE)
    [00:00:14.838,369] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1388: no session has been resumed
    [00:00:14.852,645] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1391: server hello, chosen ciphersuite: c030
    [00:00:14.867,880] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1392: server hello, compress alg.: 0
    [00:00:14.882,428] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1427: server hello, chosen ciphersuite: TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:14.900,577] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1448: server hello, total extension length: 9
    [00:00:14.916,192] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1518: found extended_master_secret extension
    [00:00:14.931,419] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1466: found renegotiation extension
    [00:00:14.945,867] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1662: <= parse server hello
    [00:00:14.959,885] <wrn> mbedtls: WEST_TOPDIR/modules/cmbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:14.972,593] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:14.985,276] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:00:15.000,518] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8108: => parse certificate
    [00:00:15.013,625] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:15.034,656] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 3295, type = 11, hslen = 2924
    [00:00:15.050,739] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 3295, 0..2924 of 2924
    [00:00:15.074,263] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 2924 + 371
    [00:00:15.090,137] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:00:15.103,277] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9977: Use configuration-specific verification callback
    [00:00:15.127,235] <err> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:10034: x509_verify_cert() returned -9984 (-0x2700)
    [00:00:15.142,473] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5350: => send alert message
    [00:00:15.155,704] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5351: send alert level=2 message=48
    [00:00:15.169,434] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2947: => write record
    [00:00:15.182,154] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3031: output record: msgtype = 21, version = [3:3], msglen = 2
    [00:00:15.198,220] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:15.210,937] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: message length: 7, out_left: 7
    [00:00:15.225,575] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2377: ssl->f_send() returned 7 (-0xfffffff9)
    [00:00:15.248,475] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2404: <= flush output
    [00:00:15.266,815] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3084: <= write record
    [00:00:15.278,656] <dbg> net_sock: zsock_received_cb: (rx_q[0]): ctx=0x2f004668, pkt=0, st=0, user_data=0
    [00:00:15.295,020] <dbg> net_sock: zsock_received_cb: (rx_q[0]): Marked socket 0x2f004668 as peer-closed
    [00:00:15.307,215] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:5362: <= send alert message
    [00:00:15.320,458] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:10134: ! Certificate verification flags 00000008
    [00:00:15.337,790] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4683: <= handshake
    [00:00:15.350,372] <err> net_sock_tls: TLS handshake error: -0x2700
    [00:00:15.359,531] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 3 (MBEDTLS_SSL_SERVER_CERTIFICATE) -> 0 (MBEDTLS_SSL_HELLO_REQUEST)
    [00:00:15.381,952] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6394: => write close notify
    [00:00:15.395,190] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:6405: <= write close notify
    [00:00:15.411,008] <dbg> net_sock: zsock_close_ctx: (azure_thread_id): close: ctx=0x2f004668, fd=13
    [00:00:15.424,744] <err> mqtt_helper: mqtt_connect, error: -113
    [00:00:15.433,665] <err> azure_iot_hub_dps: mqtt_helper_connect failed, error: -113
    [00:00:15.444,180] <err> azure_task: DPS failed to start, error: -113
    [00:00:15.453,605] <err> azure_task: Failed to run DPS, error: -113, terminating connection attempt


    On the nrf7002dk using the same certs there's no error:
    [00:00:18.234,863] <inf> azure_task: Starting DPS
    [00:00:18.235,107] <inf> azure_task: DPS registration status: AZURE_IOT_HUB_DPS_REG_STATUS_NOT_STARTED
    [00:00:27.114,959] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [00:00:27.115,020] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.115,051] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.115,142] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_HELLO_REQUEST
    [00:00:27.115,234] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 0 (MBEDTLS_SSL_HELLO_REQUEST) -> 1 (MBEDTLS_SSL_CLIENT_HELLO)
    [00:00:27.115,295] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.115,325] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.115,386] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_CLIENT_HELLO
    [00:00:27.115,447] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0921: => write client hello
    [00:00:27.115,722] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: dumping 'client hello, random bytes' (32 bytes)
    [00:00:27.116,027] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0000:  c5 f0 77 14 77 7e 2b c9 20 d0 ce b4 ae 3b 65 34  ..w.w~+. ....;e4
    [00:00:27.116,302] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0487: 0010:  92 7a 60 65 07 e2 33 6c 66 e3 59 2a f2 01 6d ed  .z`e..3lf.Y*..m.
    [00:00:27.116,363] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0512: dumping 'session id' (0 bytes)
    [00:00:27.116,455] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02c, TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384
    [00:00:27.116,577] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c030, TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.116,668] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009f, TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.116,790] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0ad, TLS-ECDHE-ECDSA-WITH-AES-256-CCM
    [00:00:27.116,882] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09f, TLS-DHE-RSA-WITH-AES-256-C:.116,973] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c024, TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384
    [00:00:27.117,095] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c028, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384
    [00:00:27.117,187] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 006b, TLS-DHE-RSA-WITH-AES-256-CBC-SHA256
    [00:00:27.117,279] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00a, TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA
    [00:00:27.117,401] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c014, TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA
    [00:00:27.117,492] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0039, TLS-DHE-RSA-WITH-AES-256-CBC-SHA
    [00:00:27.117,584] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0af, TLS-ECDHE-ECDSA-WITH-AES-256-CCM-8
    [00:00:27.117,706] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a3, TLS-DHE-RSA-WITH-AES-256-CCM-8
    [00:00:27.117,797] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02b, TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
    [00:00:27.117,919] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02f, TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256
    [00:00:27.118,011] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009e, TLS-DHE-RSA-WITH-AES-128-GCM-SHA256
    [00:00:27.118,103] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0ac, TLS-ECDHE-ECDSA-WITH-AES-128-CCM
    [00:00:27.118,194] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09e, TLS-DHE-RSA-WITH-AES-128-CCM
    [00:00:27.118,316] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c023, TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256
    [00:00:27.118,408] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c027, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256
    [00:00:27.118,530] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0067, TLS-DHE-RSA-WITH-AES-128-CBC-SHA256
    [00:00:27.118,621] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c009, TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA
    [00:00:27.118,713] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c013, TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA
    [00:00:27.118,804] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0033, TLS-DHE-RSA-WITH-AES-128-CBC-SHA
    [00:00:27.118,927] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0ae, TLS-ECDHE-ECDSA-WITH-AES-128-CCM-8
    [00:00:27.119,018] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a2, TLS-DHE-RSA-WITH-AES-128-CCM-8
    [00:00:27.119,232] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009d, TLS-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.119,354] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09d, TLS-RSA-WITH-AES-256-CCM
    [00:00:27.119,445] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003d, TLS-RSA-WITH-AES-256-CBC-SHA256
    [00:00:27.119,537] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 0035, TLS-RSA-WITH-AES-256-CBC-SHA
    [00:00:27.119,659] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c032, TLS-ECDH-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.119,750] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02a, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA384
    [00:00:27.119,873] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00f, TLS-ECDH-RSA-WITH-AES-256-CBC-SHA
    [00:00:27.119,995] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02e, TLS-ECDH-ECDSA-WITH-AES-256-GCM-SHA384
    [00:00:27.120,086] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c026, TLS-ECDH-ECDSA-WITH-AES-256-CBC-SHA384
    [00:00:27.120,208] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c005, TLS-ECDH-ECDSA-WITH-AES-256-CBC-SHA
    [00:00:27.120,300] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a1, TLS-RSA-WITH-AES-256-CCM-8
    [00:00:27.120,391] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 009c, TLS-RSA-WITH-AES-128-GCM-SHA256
    [00:00:27.120,513] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c09c, TLS-RSA-WITH-AES-128-CCM
    [00:00:27.120,605] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 003c, TLS-RSA-WITH-AES-128-CBC-SHA256
    [00:00:27.120,697] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: 002f, TLS-RSA-WITH-AES-128-CBC-SHA
    [00:00:27.120,819] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c031, TLS-ECDH-RSA-WITH-AES-128-GCM-SHA256
    [00:00:27.120,910] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c029, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA256
    [00:00:27.121,032] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c00e, TLS-ECDH-RSA-WITH-AES-128-CBC-SHA
    [00:00:27.121,154] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c02d, TLS-ECDH-ECDSA-WITH-AES-128-GCM-SHA256
    [00:00:27.121,246] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c025, TLS-ECDH-ECDSA-WITH-AES-128-CBC-SHA256
    [00:00:27.121,368] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c004, TLS-ECDH-ECDSA-WITH-AES-128-CBC-SHA
    [00:00:27.121,459] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0370: client hello, add ciphersuite: c0a0, TLS-RSA-WITH-AES-128-CCM-8
    [00:00:27.121,643] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0388: adding EMPTY_RENEGOTIATION_INFO_SCSV
    [00:00:27.121,704] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0397: client hello, got 49 cipher suites
    [00:00:27.121,826] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0041: client hello, adding server name extension: global.azure-devices-provisioning.net
    [00:00:27.121,887] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0231: client hello, adding supported_groups extension
    [00:00:27.121,948] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0250: got supported group(0017)
    [00:00:27.122,009] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0282: NamedGroup: secp256r1 ( 17 )
    [00:00:27.122,100] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: dumping 'Supported groups extension' (4 bytes)
    [00:00:27.122,283] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0302: 0000:  00 02 00 17                                      ....
    [00:00:27.122,344] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9518: adding signature_algorithms extension
    [00:00:27.122,406] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [603] ecdsa_secp521r1_sha512
    [00:00:27.122,497] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [603] ecdsa_secp521r1_sha512
    [00:00:27.122,589] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [601] rsa_pkcs1_sha512
    [00:00:27.122,650] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [601] rsa_pkcs1_sha512
    [00:00:27.122,741] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [503] ecdsa_secp384r1_sha384
    [00:00:27.122,833] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [503] ecdsa_secp384r1_sha384
    [00:00:27.122,894] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [501] rsa_pkcs1_sha384
    [00:00:27.122,985] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [501] rsa_pkcs1_sha384
    [00:00:27.123,046] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [403] ecdsa_secp256r1_sha256
    [00:00:27.123,138] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [403] ecdsa_secp256r1_sha256
    [00:00:27.123,229] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9538: got signature scheme [401] rsa_pkcs1_sha256
    [00:00:27.123,291] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9547: sent signature scheme [401] rsa_pkcs1_sha256
    [00:00:27.123,382] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0105: client hello, adding supported_point_formats extension
    [00:00:27.123,443] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:0338: client hello, adding extended_master_secret extension
    [00:00:27.123,504] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0689: client hello, total extension length: 82
    [00:00:27.123,596] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: dumping 'client hello extensions' (82 bytes)
    [00:00:27.123,870] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0000:  00 52 00 00 00 2a 00 28 00 00 25 67 6c 6f 62 61  .R...*.(..%globa
    [00:00:27.124,145] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0010:  6c 2e 61 7a 75 72 65 2d 64 65 76 69 63 65 73 2d  l.azure-devices-
    [00:00:27.124,420] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0020:  70 72 6f 76 69 73 69 6f 6e 69 6e 67 2e 6e 65 74  provisioning.net
    [00:00:27.124,694] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0030:  00 0a 00 04 00 02 00 17 00 0d 00 0e 00 0c 06 03  ................
    [00:00:27.124,938] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0040:  06 01 05 03 05 01 04 03 04 01 00 0b 00 02 01 00  ................
    [00:00:27.125,122] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:0691: 0050:  00 17                                            ..
    [00:00:27.125,793] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2787: => write handshake message
    [00:00:27.125,854] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2947: => write record
    [00:00:27.125,946] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3031: output record: msgtype = 22, version = [3:3], msglen = 225
    [00:00:27.129,486] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3084: <= write record
    [00:00:27.129,547] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2908: <= write handshake message
    [00:00:27.129,669] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 1 (MBEDTLS_SSL_CLIENT_HELLO) -> 2 (MBEDTLS_SSL_SERVER_HELLO)
    [00:00:27.129,699] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_client.c:1014: <= write client hello
    [00:00:27.129,760] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.129,882] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2370: message length: 230, out_left: 230
    [00:00:27.131,103] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2377: ssl->f_send() returned 230 (-0xffffff1a)
    [00:00:27.131,164] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2404: <= flush output
    [00:00:27.131,225] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:27.131,256] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbees/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.131,408] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/ladshake
    [00:00:27.157,257] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [0n> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:27.157,470] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:00:27.157,501] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:27.157,562] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.157,623] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 0, nb_want: 5
    [00:00:27.157,745] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 0, nb_want: 5
    [00:00:27.157,836] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 5 (-0xfffffffb)
    [00:00:27.157,867] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:27.158,172] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3999: input record: msgtype = 22, version = [0x303], msglen = 3380
    [00:00:27.158,203] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.158,294] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 5, nb_want: 3385
    [00:00:27.159,973] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 5, nb_want: 3385
    [00:00:27.160,095] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 1360 (-0xfffffab0)
    [00:00:27.160,186] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 1365, nb_want: 3385
    [00:00:27.160,247] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4683: <= handshake
    [00:00:27.183,197] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [00:00:27.183,258] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.183,288] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.183,380] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:27.183,410] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:00:27.183,471] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:27.183,502] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.183,563] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 1365, nb_want: 5
    [00:00:27.183,624] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:27.183,929] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3999: input record: msgtype = 22, version = [0x303], msglen = 3380
    [00:00:27.183,959] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.184,020] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 1365, nb_want: 3385
    [00:00:27.185,760] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 1365, nb_want: 3385
    [00:00:27.185,852] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 1365 (-0xfffffaab)
    [00:00:27.185,943] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 2730, nb_want: 3385
    [00:00:27.186,004] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4683: <= handshake
    [00:00:27.211,730] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4672: => handshake
    [00:00:27.211,791] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.211,822] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.211,914] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO
    [00:00:27.211,944] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1196: => parse server hello
    [00:00:27.212,005] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:27.212,036] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.212,097] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 2730, nb_want: 5
    [00:00:27.212,158] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:27.212,463] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3999: input record: msgtype = 22, version = [0x303], msglen = 3380
    [00:00:27.212,493] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2158: => fetch input
    [00:00:27.212,554] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2298: in_left: 2730, nb_want: 3385
    [00:00:27.214,202] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2318: in_left: 2730, nb_want: 3385
    [00:00:27.214,294] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2321: ssl->f_recv(_timeout)() returned 655 (-0xfffffd71)
    [00:00:27.214,355] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2343: <= fetch input
    [00:00:27.267,028] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 3380, type = 2, hslen = 85
    [00:00:27.267,120] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 3380, 0..85 of 85
    [00:00:27.318,511] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 85 + 3295
    [00:00:27.318,939] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:00:27.319,030] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: dumping 'server hello, version' (2 bytes)
    [00:00:27.319,183] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1270: 0000:  03 03                                            ..
    [00:00:27.319,274] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1291: server hello, current time: 1782291955
    [00:00:27.319,366] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: dumping 'server hello, random bytes' (32 bytes)
    [00:00:27.319,641] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1301: 0000:  6a 3b 9d f3 7c 69 51 e2 2f da 5b d0 17 ad 40 12  j;..|iQ./.[...@.
    [00:00:27.319,915] <inf> mbedtls: WEST_TOPDIR/modulesinf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1363: server hello, session id len.: 32
    [00:00:27.320,068] < WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: dumping 'server hello, session id' (32 bytes)
    [00:00:27.320,343] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: 0000:  41 2d 00 00 47 dc 7a 52 32 9c 9f 71 49 78 f4 02  A-..G.zR2..qIx..
    [00:00:27.320,648] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1364: 0010:  e2 22 7d 50 86 d3 63 b2 c1 83 25 91 99 4f 7c a8  ."}P..c...%..O|.
    [00:00:27.320,739] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 2 (MBEDTLS_SSL_SERVER_HELLO) -> 3 (MBEDTLS_SSL_SERVER_CERTIFICATE)
    [00:00:27.320,800] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1388: no session has been resumed
    [00:00:27.320,861] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1391: server hello, chosen ciphersuite: c030
    [00:00:27.320,922] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1392: server hello, compress alg.: 0
    [00:00:27.321,014] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1427: server hello, chosen ciphersuite: TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
    [00:00:27.321,105] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1448: server hello, total extension length: 9
    [00:00:27.321,166] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1518: found extended_master_secret extension
    [00:00:27.321,197] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1466: found renegotiation extension
    [00:00:27.321,258] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:1662: <= parse server hello
    [00:00:27.321,319] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:00:27.321,350] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:00:27.321,411] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_CERTIFICATE
    [00:00:27.321,472] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8108: => parse certificate
    [00:00:27.321,502] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:00:27.377,777] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 3295, type = 11, hslen = 2924
    [00:00:27.377,868] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 3295, 0..2924 of 2924
    [00:00:27.427,978] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 2924 + 371
    [00:00:27.431,793] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:09:58.716,888] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9977: Use configuration-specific verification callback
    [00:10:39.273,223] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:10137: Certificate verification flags clear
    [00:10:39.273,254] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:8222: <= parse certificate
    [00:10:39.273,376] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 3 (MBEDTLS_SSL_SERVER_CERTIFICATE) -> 4 (MBEDTLS_SSL_SERVER_KEY_EXCHANGE)
    [00:10:39.273,437] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:10:39.273,468] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:10:39.273,559] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_KEY_EXCHANGE
    [00:10:39.273,590] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2130: => parse server key exchange
    [00:10:39.273,651] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:10:39.279,479] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 371, type = 12, hslen = 333
    [00:10:39.279,571] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 371, 0..333 of 333
    [00:10:39.285,400] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 333 + 38
    [00:10:39.285,888] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:10:39.285,949] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: dumping 'server key exchange' (329 bytes)
    [00:10:39.286,254] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0000:  03 00 17 41 04 1c 10 34 0a 9c a6 84 c7 7c 51 17  ...A...4.....|Q.
    [00:10:39.286,529] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0010:  6c 7e 7a 3c 41 a9 6e 86 af 64 06 d7 37 a1 5a b8  l~z<A.n..d..7.Z.
    [00:10:39.286,804] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0020:  9f 52 57 41 cf f9 c5 16 d6 d3 46 02 a9 aa 25 4e  .RWA......F...%N
    [00:10:39.287,078] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0030:  d7 91 cc fa 2f 79 95 8e e5 46 a1 3d 46 08 94 98  ..../y...F.=F...
    [00:10:39.287,353] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0040:  6e 0d 08 09 d7 04 01 01 00 44 fb 0e 93 b5 f6 6a  n........D.....j
    [00:10:39.287,628] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0050:  41 f5 50 a7 a3 f5 7e 65 39 d6 69 3f a3 38 49 76  A.P...~e9.i?.8Iv
    [00:10:39.287,933] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0060:  10 2f 64 b0 51 24 e8 ea 82 fa 8e c2 b0 87 01 80  ./d.Q$..........
    [00:10:39.288,208] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0070:  d8 10 d0 32 7e 0e 0b f4 e5 99 ad f5 8f 0d bb 19  ...2~...........
    [00:10:39.288,482] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0080:  68 c8 85 61 a1 a6 88 a0 a0 ea 71 c7 37 9e 82 ff  h..a......q.7...
    [00:10:39.288,757] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0090:  7d 0e 1c af ce e6 ae d5 9c eb ff d4 1c 6d 3d d6  }............m=.
    [00:10:39.289,062] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00a0:  89 90 6d 2d 9b d1 8b 1e 1c eb 7c 8e 0b f9 b0 b2  ..m-......|.....
    [00:10:39.289,337] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00b0:  51 1c 75 35 49 86 5c 04 65 93 ac 1a fb 15 49 56  Q.u5I.\.e.....IV
    [00:10:39.289,611] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00c0:  93 36 3e d0 8e fa 2b b2 65 e5 fb 13 32 b4 2a 80  .6>...+.e...2.*.
    [00:10:39.289,916] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00d0:  65 b6 90 e3 80 54 6d 93 33 c5 e7 dc f5 fd 6b ed  e....Tm.3.....k.
    [00:10:39.290,191] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00e0:  b2 c1 f0 47 60 e8 3b 6e b0 d6 c1 cc d9 cd 22 b4  ...G`.;n......".
    [00:10:39.290,466] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 00f0:  c1 63 8b 11 35 63 c4 84 b9 48 92 81 52 14 08 1a  .c..5c...H..R...
    [00:10:39.290,740] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0100:  4f 42 b0 d9 d3 ca 76 7d 97 bf c8 e7 bc 83 0c ec  OB....v}........
    [00:10:39.291,046] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0110:  6d 1b ef 0b 66 e4 de 57 b1 a1 61 19 43 69 02 94  m...f..W..a.Ci..
    [00:10:39.291,320] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0120:  15 f0 1b 54 2e 41 6a 9a 9a b3 e1 37 db 1f e6 c3  ...T.Aj....7....
    [00:10:39.291,595] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0130:  e6 64 59 bb cf c3 25 7d 8c 55 ab 8a 5e d7 3f eb  .dY...%}.U..^.?.
    [00:10:39.291,839] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2217: 0140:  9a a7 30 d4 a6 16 a8 6c ee                       ..0....l.
    [00:10:39.291,900] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2115: Server used SignatureAlgorithm 1
    [00:10:39.291,961] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2116: Server used HashAlgorithm 4
    [00:10:39.292,053] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: dumping 'signature' (256 bytes)
    [00:10:39.292,327] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0000:  44 fb 0e 93 b5 f6 6a 41 f5 50 a7 a3 f5 7e 65 39  D.....jA.P...~e9
    [00:10:39.292,602] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0010:  d6 69 3f a3 38 49 76 10 2f 64 b0 51 24 e8 ea 82  .i?.8Iv./d.Q$...
    [00:10:39.292,877] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0020:  fa 8e c2 b0 87 01 80 d8 10 d0 32 7e 0e 0b f4 e5  ..........2~....
    [00:10:39.293,182] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0030:  99 ad f5 8f 0d bb 19 68 c8 85 61 a1 a6 88 a0 a0  .......h..a.....
    [00:10:39.293,457] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0040:  ea 71 c7 37 9e 82 ff 7d 0e 1c af ce e6 ae d5 9c  .q.7...}........
    [00:10:39.293,731] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0050:  eb ff d4 1c 6d 3d d6 89 90 6d 2d 9b d1 8b 1e 1c  ....m=...m-.....
    [00:10:39.294,006] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0060:  eb 7c 8e 0b f9 b0 b2 51 1c 75 35 49 86 5c 04 65  .|.....Q.u5I.\.e
    [00:10:39.294,311] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0070:  93 ac 1a fb 15 49 56 93 36 3e d0 8e fa 2b b2 65  .....IV.6>...+.e
    [00:10:39.294,586] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0080:  e5 fb 13 32 b4 2a 80 65 b6 90 e3 80 54 6d 93 33  ...2.*.e....Tm.3
    [00:10:39.294,860] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 0090:  c5 e7 dc f5 fd 6b ed b2 c1 f0 47 60 e8 3b 6e b0  .....k....G`.;n.
    [00:10:39.295,166] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00a0:  d6 c1 cc d9 cd 22 b4 c1 63 8b 11 35 63 c4 84 b9  ....."..c..5c...
    [00:10:39.295,440] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00b0:  48 92 81 52 14 08 1a 4f 42 b0 d9 d3 ca 76 7d 97  H..R...OB....v}.
    [00:10:39.295,715] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00c0:  bf c8 e7 bc 83 0c ec 6d 1b ef 0b 66 e4 de 57 b1  .......m...f..W.
    [00:10:39.295,989] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00d0:  a1 61 19 43 69 02 94 15 f0 1b 54 2e 41 6a 9a 9a  .a.Ci.....T.Aj..
    [00:10:39.296,264] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00e0:  b3 e1 37 db 1f e6 c3 e6 64 59 bb cf c3 25 7d 8c  ..7.....dY...%}.
    [00:10:39.296,569] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2408: 00f0:  55 ab 8a 5e d7 3f eb 9a a7 30 d4 a6 16 a8 6c ee  U..^.?...0....l.
    [00:10:39.296,630] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:9261: Perform PSA-based computation of digest of ServerKeyExchange
    [00:10:39.297,210] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2425: dumping 'parameters hash' (32 bytes)
    [00:10:39.297,485] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2425: 0000:  52 40 0b 7e a0 28 21 b3 57 39 47 bb d7 0d 3a 48  R@.~.(!.W9G...:H
    [00:10:39.297,790] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2425: 0010:  52 1e df 5b b7 c9 17 33 d2 a1 9b ce 0c c0 41 5b  R..[...3......A[
    [00:10:39.311,950] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 4 (MBEDTLS_SSL_SERVER_KEY_EXCHANGE) -> 5 (MBEDTLS_SSL_CERTIFICATE_REQUEST)
    [00:10:39.311,981] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2496: <= parse server key exchange
    [00:10:39.312,042] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:10:39.312,072] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:10:39.312,164] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_CERTIFICATE_REQUEST
    [00:10:39.312,194] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2535: => parse certificate request
    [00:10:39.312,255] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:10:39.312,988] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 38, type = 13, hslen = 34
    [00:10:39.313,079] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 38, 0..34 of 34
    [00:10:39.313,842] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3452: More handshake messages in the record: 34 + 4
    [00:10:39.314,147] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:10:39.314,270] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 5 (MBEDTLS_SSL_CERTIFICATE_REQUEST) -> 6 (MBEDTLS_SSL_SERVER_HELLO_DONE)
    [00:10:39.314,300] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2561: got a certificate request
    [00:10:39.314,392] <inf> mbedtls: WEST_TOPDIR/modules/cry50: Supported Signature Algorithm found: 04 01
    [00:10:39.314,453] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/sslEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2650: Supported Signature Algorithm found: 04 03
    [00:10:39.314,697] <inf>]<inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2650: Supported Signature Algorithm found: 02 0ulgorithm found: 06 03
    [00:10:39.315,063] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2650: Supported Signaturebedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2697: <= parse certificate request
    [00:10:39.315,246] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2356: => flush output
    [00:10:39.315,277] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:2365: <= flush output
    [00:10:39.315,338] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls.c:4591: client state: MBEDTLS_SSL_SERVER_HELLO_DONE
    [00:10:39.315,399] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_tls12_client.c:2708: => parse server hello done
    [00:10:39.315,460] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4332: => read record
    [00:10:39.315,734] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3242: handshake message: msglen = 4, type = 14, hslen = 4
    [00:10:39.315,795] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:3379: sole handshake fragment: 4, 0..4 of 4
    [00:10:39.316,162] <wrn> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_msg.c:4404: <= read record
    [00:10:39.316,284] <inf> mbedtls: WEST_TOPDIR/modules/crypto/mbedtls/library/ssl_misc.h:1353: handshake state: 6 (MBEDTLS_SSL_SERVER_HELLO_DONE) -> 7 (MBEDTLS_SSL_CLIENT_CERTIFICATE)

Children
No Data
Related