IoT HTTPS Client Library
HTTPS Client Introduction
The IoT HTTPS Client (Hypertext Transfer Protocol) library provides a lightweight HTTP client request and response messaging protocol that runs on top of TCP/IP and is often used in web application use cases. The IoT HTTPS Client library implements a subset of the HTTP/1.1 protocol standard and uses the IoT Task Pool library for threading.
An HTTP connection to a server can be established in a non-secure (HTTP) and secure manner (HTTPS). Especially in IoT use cases, TLS (Transport Layer Security) is used to provide a secure communication protocol between a client and server. In TLS, the client and server establish a secure connection through a handshake protocol to prevent eavesdropping from any malicious parties. When the library is called “HTTPS” instead of “HTTP”, it indicates that HTTP over TLS is enabled by default.
The FreeRTOS IoT libraries can be used individually or collectively to create locally connected or internet connected MCU applications. Each library can be freely used and is distributed under the MIT open source license.
The pages below establish a progression to creating a secure connection.
- HTTPS Client Introduction (this page)
- HTTPS Client Terminology
- Basic HTTP Client Demo (without TLS and in plaintext)
- TLS/Security Introduction
- TLS Terminology
- HTTPS Client Demo (with basic TLS – only Server Authentication)
- X.509 Introduction (Client Authentication) – coming in a future release!
- HTTPS Client Demo (with TLS – Mutual Authentication) – coming in a future release!