ArduinoCore-renesas icon indicating copy to clipboard operation
ArduinoCore-renesas copied to clipboard

Support the Mutual TLS Authentication on WiFiS3 library

Open ArduinoGetStarted opened this issue 1 year ago • 4 comments

Do you have a plan to support the mutual TLS authentication on the WiFiS3 library ?

This feature is available on ESP32 now. The Uno R4 uses the ESP32 as Wi-Fi module, So I think it does not need to develop the from scratch.

Additional context

Additional requests

  • https://github.com/arduino/ArduinoCore-renesas/issues/265#issuecomment-1996090757

ArduinoGetStarted avatar Feb 15 '24 00:02 ArduinoGetStarted

Hi @ArduinoGetStarted, If I am correct this should be a matter of adding two new AT commands for this APIs

setCertificate(const char *client_ca);
setPrivateKey (const char *private_key);

pennam avatar Feb 15 '24 08:02 pennam

Dear @pennam ,

I think you are correct. The WiFiClientSecure library from ESP32 has those function. I tested, it works well with AWS IoT. The link for the tutorial is here: how to connect ESP32 to AWS IoT. I hope this feature will be available on Arduino Uno R4 soon! Uno form factor is compatible with many shields

ArduinoGetStarted avatar Feb 15 '24 08:02 ArduinoGetStarted

Being new to the Arduino development I naively thought the Uno R4 Wifi would have the latest and greatest functionality. I stumbled into this issue trying to follow the most basic AWS IoT Core documentation.

Is there no current workarounds?

bayu01 avatar Mar 13 '24 23:03 bayu01

Dear @bayu01 I think the Uno R4 WiFi is not mature. It is new released. It will be a good choice for every application for several years later. For now, you can use Arduino Nano ESP3. You can see the tutorial for Arduino Nano ESP32 connects to AWS IoT

ArduinoGetStarted avatar Mar 14 '24 00:03 ArduinoGetStarted