The internet has changed to a place where most protocols like
HTTP etc now use secure connections with TLS by default.
While both HTTP and the MySQL Protocol use TLS for secure
connections there are still many differences which make it
difficult for MySQL to benefit from the same advancements as HTTP
has seen in the last so many years.
What is TLS?
TLS stands for Transport Layer Security and is the successor of
SSL (Socket Layer Security). SSL and TLS are often used
interchangably, while this isn’t correct strictly speaking. What
TLS provides is a standardized way to encrypt in transit traffic
and authenticate the other end of the connection. TLS when used
together with HTTP is known as HTTPS, for secure HTTP.
How TLS works in HTTPS
The client (webbrowser) connects to a server on port 443. Then
negitiation is done to agree on what encryption method is to be
used. The server presents the client with a …
[Read more]