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: Problem with SSL demo application

Part Number: CC3200


Hi,

I was working through the demo SSL application provided with the CC3200 SDK_1.3.0. I have the wifi setup and downloaded the .der certificate along with the .bin application program. But its not working. This is what i'm getting on the serial terminal: 

...............

Connection established w/ AP and IP is aquired

Device couldn't connect to Google server

Error [-370] at line [876] in function [main]

I was following the PDF document relating to the SSL demo.  The document says to download the Equifax CA. I exported it to a folder and when opened it says "This certificate has been revoked by its certification authority". is this a problem?

I also tried GeoTrust Global CA too. it didn't work either. what am I doing wrong?

CC3200 can connect to the internet and also the time is set correctly

these are the setup:

#define APPLICATION_NAME        "SSL"
#define APPLICATION_VERSION     "1.1.1"

#define SERVER_NAME                "www.google.com"
#define GOOGLE_DST_PORT             443

#define SL_SSL_CA_CERT_FILE_NAME        "/cert/129.der"

#define DATE                14    /* Current Date */
#define MONTH               6     /* Month 1-12 */
#define YEAR                2018  /* Current year */
#define HOUR                17    /* Time - hours */
#define MINUTE              23    /* Time - minutes */
#define SECOND              0     /* Time - seconds */


here's the main() funtion:

void main()
{
    long lRetVal = -1;
    //
    // Initialize board configuration
    //
    BoardInit();

    PinMuxConfig();

    //#ifndef NOTERM
        InitTerm();
    //#endif
    lRetVal = ssl();
    if(lRetVal < 0)
    {
        ERR_PRINT(lRetVal);
    }

    //
    // power off network processor
    //
    sl_Stop(SL_STOP_TIMEOUT);
    LOOP_FOREVER();
}
//*****************************************************************************
//
// Close the Doxygen group.
//! @}
//
//*****************************************************************************