This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200: More details about WPA2 enterprise certificate

Part Number: CC3200
Other Parts Discussed in Thread: CC3220S

I need to update OTA the wlan certificate (/cert/ca.pem, client.pem and private.key) on our c3200 devices and have some related questions.

1: What's the best way to overwrite the certificates? Do I need to do a sl_Stop/sl_Start or just a sl_WlanDisconnect ?

Typically I want to:

  1. download OTA a new wifi config + the certificates.
  2. Save the current config temporarily
  3. apply the new one
  4. test connection
  5. if no connection revert to old config
  6. if connection drop old config and save new one

Can I use the fail safe mechanism (_FS_FILE_OPEN_FLAG_COMMIT) to test and close the file only on success? 

Alternatively, can we use the api to change which file is used? E.g. switch from /cert/client.pem to /cert/client1.pem?

2: What format of certificate are supported?

From the doc CC32xx ENT WLAN.pdf which mention a ".pem" file I suppose it handles bin64 file ".pem". Is it also possible to use binary equivalent ".der"? What are the restrictions to the format (for example only one key per file) and is there a way to test compatibility before sending it to the device? 

3: Is it possible to store the wpa2 enterprise certificates/keys in an encrypted format in the flash?