Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC3200: Date-time and certificate

$
0
0

Hi,

I'm evaluating how to best handle the datetime of our device to handle correctly the certificates of WIFI ENT and HTTP clients. Our devices are based on CC3220 and CC3200 (and in the futur the CC3235)

The easiest solution would be to avoid having any error if the date does not match the validity period of the certificates.

I tested with a date well outside the validity period and got the following behavior:

WIFI ENTHTTP client
CC3200

With SL_WLAN_CFG_GENERAL_PARAM_ID = 1 

=> No connection

With SL_WLAN_CFG_GENERAL_PARAM_ID = 0

=>Connection OK

SL_ESECDATEERROR (-461) on HTTPCli_connect

if ignored, HTTPCli_ESENDFAIL (-103)  on first http request

CC3220

With SL_WLAN_GENERAL_PARAM_DISABLE_ENT_SERVER_AUTH=0 

=>No connection

With SL_WLAN_GENERAL_PARAM_DISABLE_ENT_SERVER_AUTH=1

=>Connection OK

No warning / no error

My questions:

  • Can we avoid the HTTPCli_ESENDFAIL after an SL_ESECDATEERROR on the CC3200 ? (I have seen plenty of doc/example just ignoring it, but it does not seem to work with httpclient)
  • Is it expected not to have any warning with CC3220 HTTPClient_connect? 

Best regards,

Cédric


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>