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

CC3220: Error SL_ERROR_FS_INVALID_TOKEN_SECURITY_ALERT when opening wifi certs

$
0
0

Part Number:CC3220

Hi,

I have an issue when reading the wifi enterprise certificates from the firmware.

It's the same for all three files:

  • /sys/cert/ca.der
  • /sys/cert/client.der
  • /sys/cert/private.key

When opening the file with sl_FsOpen(filename, SL_FS_READ, 0) I get the return value -10365 = SL_ERROR_FS_INVALID_TOKEN_SECURITY_ALERT

sl_FsGetInfo give: return value=0, FileLen=2912, AllocatedLen=3656, WriteCounter=5, Flags=8816'

The files are not set as secure in uniflash so I would not expect the need for any token.

It is ok for many other files which have the same settings in uniflash.

Am I doing something wrong?


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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