ction between the client and the server. The session details can then be reused in a subsequent connection attempt to speed up the process of connecting. This is known as &quot;resumption&quot;. Sessions are represented in OpenSSL by the <b>SSL_SESSION</b> object. In TLSv1.2 there is always exactly one session per connection. In TLSv1.3 there can be any number per connection including none.</p>

<h1 id="PHASES-OF-A-TLS-CONNECTION">PHASES OF A TLS CONNECTION</h1>

<p>A TLS connection starts with an initial &