Connecting to HTTPS servers and sending and receiving data on the NRF7002dk

Hello,

I am using nrf7002dk on NCS version 2.6.0.

I want to send data to an HTTPS web server using WiFi.

I saw some mentions about HTTPS in several posts on Devzone.

but, I need definite information on whether this feature is supported by Nordic.

Are there any official HTTPS-related examples or guidelines? If not, are there any plans to add them? If possible, could you provide an approximate timeframe?

Thank you.

  • Hi

    Can you confirm that the following is your issue, as I don't read Korean I had to use a translation program, so something might have been lost in translation.

    You're trying to send data to an HTTPS server over Wi-Fi and you're wondering if HTTPS is supported and we have any samples/guidelines on it. Currently there are no samples for https in the nRF Connect SDK, but you can check out this case which discusses it in detail, and we've had reports of people being able to implement HTTPS. Whether this is coming to the nRF Connect SDK I would suggest asking the regional sales manager of your area, as we don't speculate or discuss possible upcoming features/products here on DevZone. If you don't know who this is, let me know and I will help you reach out.

    Best regards,

    Simon

  • Hello, Simon.

    Your response is correct. What I need is to implement HTTPS communication in a WiFi environment.

    1) Are you saying that while you provide the TLS module, there is no sample that properly applies it to HTTPS communication?

    2) The following guide indicates that the https_clients sample example can also be executed on the nRF7002 DK, but I encountered difficulties in adding the WiFi connection process. https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/net/https_client/README.html

    3) In another approach, I managed to connect to an AP and send a TCP message using the base wifi/shell example you mentioned, but I am having trouble adding TLS credentials. The example I received was implemented with NCS version 2.4.0, but I am having difficulty with changes due to the version upgrade to NCS 2.6.0.

    Could you provide detailed guidelines for either 2) or 3)?

    Thank you.

  • Hi

    The HTTPS Client does indeed show how to set up a TLS session towards a HTTPS server, but not much more than that. In 3) what trouble do you exactly have here with adding the TLS credentials? Do you get any error codes that points to what the issue is here exactly? For upgrading to NCS 2.6.0, the nRF Connect SDK migration guide should be sufficient to let you port a sample from NCS 2.4.0 t 2.6.0. First from 2.4.0 to 2.5.0, then from 2.5.0 to 2.6.0.

    Best regards,

    Simon

  • hello.

    I changed my development environment from nRF5_SDK to Nordic Connect SDK, so I'm not familiar with it, so it's hard to know where to start and follow other examples including migration.

    I'll get back to you after I have some more time to explore Nordic Academy, etc.

    Thank you.

  • Hello, Simon.

    My question was resolved through the WiFi Academy HTTPS solution sample,
    (SDK version 2.5.2) for the nRF7002dk.

    Coincidentally, my server domain was Amazon Server, and the certificate provided in the example was also Amazon.
    Therefore, I was able to proceed with requests and responses via HTTPS without any additional actions.

    If you are using a server from a different domain,
    I believe the process in the thread you received will allow you to replace the certificate for that domain.

    ----------------------------------------------------------------------------------------------------------------

    Although the HTTPS implementation has been resolved,

    when I change the SDK version to 2.7.0,
    there is a CMake-related path setting error for the 7002dk board in the Academy WiFi HTTPS sample.
    [I only changed the HTTPS server name and HTTP request content in the example]
    Academy wifi https example (less5-exer2_solution)

    Regarding the migration, the provided documentation includes CONFIG settings and other changes,
    but I couldn't find anything related to my issue.

    Could I request your assistance with this?


    Best regards
    Jeon

Related