TLS handshake error -3b00 on nRF7002

nrfConnect SDK 2.3.0

IDE: VS code

Console Error:

Connecting to HTTP Server:
[00:00:23.982,177] <err> net_sock_tls: TLS handshake error: -3b00

project setup:

I started with the sta example to connect the nrf7002 to wifi Then I pulled in the example for https requests using TLS from zephyr's github, https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/net/sockets/http_get/src/http_get.c

Are there any nrf7002 compatible examples for how to connect to an HTTPS server over port 443 to POST and GET data?

Parents
  • Hi

    The error message "-0x3b00" (MBEDTLS_ERR_PK_INVALID_PUBKEY) points to the pubkey tag or value being invalid. Only RSA and EC are supported here. We don't have an official sample project doing this for the nRF7002 as of yet, but one of the DevZone users posted this link to his GitHub repo that is a simple Zephyr Wi-Fi code that at least can do http_get and has been tested (by this DevZone user to work for the nRF7002 on NCS 2.2.0 and 2.3.0.

    Best regards,

    Simon

Reply
  • Hi

    The error message "-0x3b00" (MBEDTLS_ERR_PK_INVALID_PUBKEY) points to the pubkey tag or value being invalid. Only RSA and EC are supported here. We don't have an official sample project doing this for the nRF7002 as of yet, but one of the DevZone users posted this link to his GitHub repo that is a simple Zephyr Wi-Fi code that at least can do http_get and has been tested (by this DevZone user to work for the nRF7002 on NCS 2.2.0 and 2.3.0.

    Best regards,

    Simon

Children
Related