HTTPS
HTTP sent inside an encrypted, authenticated TLS connection.
HTTPS is HTTP over TLS: the connection is encrypted and the server proves its identity with a certificate the client must verify.
Examples
The sensor posts readings to
greenhouse.example.neton port 443 withNetworkClientSecure, checking the server against a stored CA certificate.Calling
tls.setInsecure()skips the certificate check and undoes most of the protection.