Other Parts Discussed in Thread: CC3235S, SYSCONFIG, CC3235SF
Fresh LAUNCHXL-CC3235SF out of the box. Loaded CCS, imported the RTOS version of httpget. Adjusted SSID and password for my access point, compiled it, loaded it the board, ran fine.
Changed the URI from
http://www.example.com
to
https://www.example.com
and it starts failing with error code -2006 in the HTTPClient_connect() call. I can find no examples of using an https URI anywhere in the demos. The error is rather ambiguous, and I'm wondering if this is lack of a root certificate. Using curl and wget from a Linux command line, they're perfectly happy with the https URI, and return the contents of the page.
Any ideas on what's going on here? I can't find any examples of using https in the URI in the demo code. And if a root certificate is required, there doesn't seem to be one present in the SDK, nor a clear explanation of how to obtain or generate one and how to load it.