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.

CC3120: how to use selfsigned certificate for simplelink CC3120 wifi chip

Part Number: CC3120

Hello All,

We are using TI chip CC3120 for our product development.

We are supporting http protocol over the wifi, now we want to migrate from http to https.

To support https we need to support the ssl certificate. 

How can we use self signed certificate on CC3120 device for our http application?

With regards,

Anuj Shah

  • if i understand correctly, you want to the internal (NWP-based) HTTP server (so that other devices will connect to the CC3120, right?

    check the following 2 API to set the server's certificate and private key:

    sl_NetAppSet(SL_NETAPP_DHCP_SERVER_ID, SL_NETAPP_HTTP_DEVICE_CERTIFICATE_FILENAME,...);

    sl_NetAppSet(SL_NETAPP_DHCP_SERVER_ID, SL_NETAPP_HTTP_PRIVATE_KEY_FILENAME,...);

    Note that if you are using a standard browser to connect to cc3120, you will need to update the browser/pc trusted root ca certificate catalog or they will report a warning/error when connecting to your invalid certificate.