Skip to main content
Explorer
May 22, 2025
Question

https-client issue

  • May 22, 2025
  • 2 replies
  • 387 views

Hello,

I’m currently working with the Nucleo-767ZI board and attempting to connect it to an HTTPS client to send raw sensor data to my Google Trust-based database. However, I’ve been facing issues during the TLS handshake, and neither read nor write operations are functioning correctly.

The setup involves using DHCP along with LWIP, mbedTLS, RTC, and SNTP. Despite checking various possible causes—including checksum errors and other protocol-related configurations—the problem persists.

I’ve already generated and included the required CA certificates (including both intermediate and root certificates), but the issue remains unresolved.

Could you please guide me on any possible solutions or processes that might help me achieve the desired outcome?

Best regards,
Thumula Bhargav

    This topic has been closed for replies.

    2 replies

    Super User
    May 22, 2025

    @bhargav142 wrote:

    Hello,

    Nucleo-767ZI board and attempting to connect it to an HTTPS client


    So the Nucleo is the Server?

    What is the Client?

     


    @bhargav142 wrote:

    facing issues during the TLS handshake


    What issues, exactly:

    • HTTP errors?
    • lower-layer errors?

    Have you used Wireshark (or similar) to see what's going on?

    Have you enabled LwIP diagnostics?

    https://community.st.com/t5/others-stm32-mcus-related/lan8742a-ethernet-phy-not-responding-after-software-hardware/m-p/804525/highlight/true#M6759

    Explorer
    May 22, 2025

    Have you enabled LwIP diagnostics? 
    yess sir! I had enabled also the debug msg print also happening like dhcp based ip address in putty

    but i was getting like this

    Building HTTP PUT request...
    Seeding RNG...
    RNG seeded successfully.
    Loading SSL defaults...
    SSL defaults loaded.
    Parsing CA certificate...
    mbedtls_x509_crt_parse failed: -0x0
    here i was getting stuck...  
    actually using this board i was send some raw data to firebase (realtime-database)to check the communication btw this both board & firebase.

    if i was doing wrong procedure please help & guide me with some solution and process to achive my task 

     best regards,

    Thumula bhargav