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 can create HTTPS server?

Other Parts Discussed in Thread: CC3200

Hi all,

My question is "CC3200 can create HTTPS server?".

If it can, how to setting?

Thanks.

  • Hi,

    Yes it is possible. You need to use webserver in application processor. Internal web server from NWP (network processor) does not support https.

    Webserver in application processor is used in "websock_camera" example from SDK.

    Update:

    But one important thing. Pre-build library of webserver does not support https. You need import source code of http server and build your own library. You need modify:
    - HTTP_CORE_SERVER_PORT to 443
    - upload your key into "/cert/serverkey.der" file
    - upload your certificate into "/cert/servercert.der" file
    - etc.

    Jan

  • Hi Jan,
    Can you tell me more detail about configuration CC3200 to HTTPS?
    Or have examples/documents?
    Thanks.
  • Hi,

    This is not about configuration of CC3200 to be able use HTTPS server. For https server is required to run code in application processor (Cortex-M4) with own webserver. You can use own webserver code (it is not hard work to write own webserver) or use webserver from TI (\cc3200-sdk\netapps\http\server\).

    For using TI webserver code please follow advices from my previous answer. Use a "websock_camera" example as a base for your application. Support for https into TI webserver can be add by recompiling TI webserver with https support.

    Jan
  • Hi Jan,

    Thanks for your advice, I will try to modify.
    I want to ask another question : Is CC3200 can support "Session" in web server?

    thanks.
  • Hi,

    Session in webserver is not directly supported by CC3200. You can add support by your own code.

    Internal Webserver in CC3200 NWP:

    - Session are not supported. Supported is only http authentication (unfortunately in CC3200 is a bug which not allows to use all combination username/password, this bug is not fixable by the ServicePack).

    - Using user-tokens and javascript on web, you can simulate something like a sessions. But this will not be bullet-proof solution.

    TI webserver in application processor:

    - I think sessions are not directly supported by default server code. Sessions using cookie can be implemented.

    Your own webserver code:

    - There are no limitations, you can do anything you want.

    Jan