I have a Arduino Nano RP2040 and I want to connect to a rest service via HTTPS.
As far as I understand this is not possible with the WiFiClient form the WiFiNINA.h library. But there is also a client called WiFiSSLClient.
I found this example code:
But it does not work in my case. The connection failed (I do not see any log messages indicating why)
The only possible issue may be that the code recommend the WiFi firmware Version 1.4.8 but my Nano RP2040 has the firmware 1.4.5.
Can this be the problem? I can't update the version because version 1.4.5 seems to be the latest?
The missing point was, that for outgoing SSL connections based on the NINA Wifi Library you need to upload the servers root SSL Certificates. This can be done with the WifiNina Firmware/Certificate updater tool: