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.

CCS: HTTPS FAILS

Other Parts Discussed in Thread: CC3100

Tool/software: Code Composer Studio

Hi,

I am trying make the HTTPS example "httpsgetCC3100_EK_TM4C129EXL_TI_TivaTM4C129ENCPDT" work.

It fails. Everything goes fine except that the certificate conversation with the server fails.

My log:

00:00:17.611 makeHttpsCall: HTTPS POST req host iotqa.gluon.com:443 uri /gluon/api/v1/terminal/boot

00:00:18.529 makeHttpsCall: HTTPCli_initSockAddr successful

00:00:18.693 makeHttpsCall: HTTPCli_connect successful

00:00:18.706 makeHttpsCall: HTTPCli_sendRequest successful

00:00:18.820 makeHttpsCall: ***ERROR*** - request failed ret http 400

Error http 400 comes because plain http request was sent to https port 443.

Somehow the code

    HTTPCli_Params_init(&params);

    params.tls = tls;

is not taking effect. Server gets no certificate. I have the correct certificate which works fine in NDK environment.

Can somebody help me here please.

Regards...Narinder

  • Hello Narinder,

    You should look to what SimpleLink offers rather than make use of that example. We are going to pull it from TivaWare in the next update as applications with the CC3100 should be using the MSP432 MCU's as the host processor since that is what SimpleLink supports.

    If you really want to try making that example work, you can ask the WiFi team for help as the issue is with the WiFi portion and not TivaWare. Here is the link to their forum: e2e.ti.com/.../968