Requiring HTTPS
Learn how to enable HTTPS in a function to encrypt the exchange of information between the server and the client.
We'll cover the following...
HTTPS basics
HTTPS is a secure version of Hypertext Transfer Protocol (HTTP). When HTTPS is enabled, the information exchanged between the client and the server is encrypted. Only the client and the server can read it because only these participants have access to the encryption and decryption keys.
The keys are enabled by a special certificate that is signed by a recognized certification authority and is granted to a specific domain. The protocol used by the certificate is Secure Socket Layer (SSL), and its updated version is known as Transport Layer Security (TLS).
HTTPS in Azure Functions
In Azure Functions, HTTPS is enabled by default, therefore, we don’t have to worry about it when we deploy our function in Azure. When we run the function app in a development environment, we can apply a self-signed development certificate to include HTTPS in ...