SWRU455M February 2017 – October 2020 CC3120 , CC3120MOD , CC3130 , CC3135 , CC3135MOD , CC3220MOD , CC3220MODA , CC3220R , CC3220S , CC3220SF , CC3230S , CC3230SF , CC3235MODAS , CC3235MODASF , CC3235MODS , CC3235MODSF , CC3235S , CC3235SF
Table 8-4 lists the common errors.
Error | Client | Server |
---|---|---|
SL_ERROR_BSD_ESECSNOVERIFY | Connected without verifying the peer. Use sl_SetSockOpt to set the CA to verify the peer. | N/A |
SL_ERROR_BSD_ESECNOCAFILE | The CA filename used in the sl_SetSockOpt is not in the file system. Use the correct filename, or program the file in the name desired. | The CA filename used in the sl_SetSockOpt is not in the file system. Use the correct filename, or program the file in the name desired. |
SL_ERROR_BSD_ESECBADCAFILE SL_ERROR_BSD_ESECBADCERTFILE SL_ERROR_BSD_ESECBADPRIVATEFILE SL_ERROR_BSD_ESECBADDHFILE | The file is not valid. Check if it is a valid DER/PEM CA file. | The file is not valid. Check if it is a valid DER/PEM CA file. |
SL_ERROR_BSD_ESECT00MANYSSLOPENED | Exceed maximum SSL connections. CC3x20x Wi-Fi device supports only six connected TLS sockets. | Exceed maximum TLS connections. CC3x20x Wi-Fi device supports only six connected TLS sockets. |
SL_ERROR_BSD_ESECDATEERROR | Connected but with error verifying time and date on the certificates of the server. Set the time and date on the device or check the certificate date of the other side. | N/A |
SL_ERROR_BSD_ESEC_SOCKET_ERROR | TCP socket was disconnected during the TLS handshake. This usually occurs when the other side closed the connection. Investigate the peer. | TCP socket was disconnected during the TLS handshake. This usually occurs when the other side closed the connection. Investigate the peer. |
SL_ERROR_BSD_ESEC_ASN_NO_SIGNER | Could not verify one of the certificates in the peer’s cert. This usually occurs when using a wrong CA to verify the peer. Use the SL_SSL_NOTIFICATION_WRONG_ROOT_CA to get the desired CA CommonName. | Could not verify one of the certificates in the peer’s cert. |
SL_ERROR_BSD_ESECUNKNOWNROOTCA | Connected but the root CA used to verify the peer is unknown to TI. That means it does not appear in the trusted root-certificate catalog. | N/A |