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

CC3100: ssl

$
0
0

Part Number:CC3100

We have a cc3100 based product which connects to google servers (android.googleapis.com)

This was working fine for a long time until a few days ago.

 

We started getting error -340 on the SSL connection.

The SSL setup is :

 

method.secureMethod = SL_SO_SEC_METHOD_SSLv3_TLSV1_2;   

cipher.secureMask = SL_SEC_MASK_SECURE_DEFAULT;

sl_SetSockOpt(gSockID, SL_SOL_SOCKET, SL_SO_SECURE_FILES_CA_FILE_NAME,GOOGLE_CERT_FILE, strlen(GOOGLE_CERT_FILE));

 

Ive tried to select specific ciphers. Also tried different certificate files, using the exact same one which works with a PC curl application. What I see is that the first sl_connect takes a long time and then fails with -340. Repeated attempts fail immediately with the same error.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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