{"id":86,"date":"2026-11-06T06:04:25","date_gmt":"2026-11-06T06:04:25","guid":{"rendered":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/"},"modified":"2026-11-06T06:04:25","modified_gmt":"2026-11-06T06:04:25","slug":"tls-handshake-before-https-loads","status":"publish","type":"post","link":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/","title":{"rendered":"TLS Handshake Explained: What Happens Before HTTPS Loads"},"content":{"rendered":"<p>Before a browser can request an HTTPS page, it must establish a secure connection with the web server. This negotiation is called the TLS handshake. It allows the two endpoints to agree on protocol settings, authenticate the server, and create shared encryption keys before application data is exchanged.<\/p>\n<p>For most visitors the process is invisible and completes in a fraction of a second. When it fails, however, the result may be a certificate warning, a connection error, or a website that appears unavailable even though the server itself is running.<\/p>\n<h2>The Client Starts With ClientHello<\/h2>\n<p>The browser opens a TCP connection and sends a ClientHello message. It includes the TLS versions and cryptographic options the client supports, a random value, and key-exchange information. It can also include the requested hostname through Server Name Indication, allowing one IP address to host several HTTPS websites with different certificates.<\/p>\n<p>Modern clients usually offer TLS 1.3 while retaining compatible fallback options where necessary. The server must select parameters that both sides support. If no acceptable version or algorithm exists, the handshake stops before any HTTP request is sent.<\/p>\n<h2>The Server Selects Parameters and Proves Its Identity<\/h2>\n<p>The server replies with ServerHello and chooses the protocol version and cryptographic parameters. It also sends its certificate chain and a signature that proves possession of the certificate&#8217;s private key.<\/p>\n<p>The browser then validates the chain to a trusted certificate authority, checks that the certificate covers the requested hostname, and verifies its validity period. Our introduction to <a href=\"https:\/\/www.tempohosting.co.uk\/blog\/ssl-certificates-explained-how-https-protects-your-website\/\" target=\"_blank\" rel=\"noopener\">SSL certificates and HTTPS protection<\/a> explains the trust model in more detail.<\/p>\n<p>An expired certificate, missing intermediate certificate, incorrect hostname, or untrusted issuer can all interrupt this stage. Planned renewal and deployment checks help prevent these avoidable failures; use our <a href=\"https:\/\/www.tempohosting.co.uk\/blog\/ssl-certificate-renewal-checklist-https-outages\/\" target=\"_blank\" rel=\"noopener\">SSL certificate renewal checklist<\/a> before a certificate reaches its expiry date.<\/p>\n<h2>Both Sides Derive Shared Session Keys<\/h2>\n<p>The client and server combine their key-exchange values to independently derive the same session secrets. They do not send the final symmetric encryption keys across the network. Finished messages confirm that both parties calculated the expected secrets and that the handshake was not altered in transit.<\/p>\n<p>Once verification is complete, the connection carries encrypted application data. The browser can finally send its HTTP request, and the server can return the page without exposing the contents to passive observers or allowing undetected modification.<\/p>\n<h2>Session Resumption Reduces Repeat Work<\/h2>\n<p>A server may provide information that lets a returning client resume a previous session. Resumption reduces cryptographic work and can save a network round trip. TLS 1.3 also defines early data, commonly called 0-RTT, but applications must use it carefully because replayed early requests can create security risks.<\/p>\n<h2>Troubleshoot the Handshake Separately From HTTP<\/h2>\n<p>When HTTPS fails, first confirm DNS resolution, reachability on port 443, certificate validity, hostname coverage, and the complete certificate chain. Then check supported TLS versions and inspect server logs. The command-line checks in our guide to <a href=\"https:\/\/www.tempohosting.co.uk\/blog\/test-website-with-curl-status-redirects-timing-tls\/\" target=\"_blank\" rel=\"noopener\">testing websites with curl<\/a> help separate TLS failures from HTTP status and redirect problems.<\/p>\n<p>For the current protocol definition and complete TLS 1.3 handshake flows, consult <a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc9846.html#section-2\" target=\"_blank\" rel=\"noopener\">Section 2 of RFC 9846<\/a>. Understanding these stages makes certificate errors easier to diagnose and explains why a healthy HTTPS connection depends on more than simply installing a certificate.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how a TLS handshake negotiates security settings, validates the server certificate, and creates encryption keys before HTTPS data flows.<\/p>\n","protected":false},"author":2,"featured_media":85,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[17],"tags":[15,14,19,75,16],"class_list":["post-86","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ssl-certificates","tag-https","tag-ssl-certificates","tag-tls-encryption","tag-tls-handshake","tag-website-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>TLS Handshake Explained: What Happens Before HTTPS Loads - Tempo Hosting Blog<\/title>\n<meta name=\"description\" content=\"Learn how the TLS handshake negotiates encryption, validates certificates, creates session keys, and establishes a secure HTTPS connection.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TLS Handshake Explained: What Happens Before HTTPS Loads - Tempo Hosting Blog\" \/>\n<meta property=\"og:description\" content=\"Learn how the TLS handshake negotiates encryption, validates certificates, creates session keys, and establishes a secure HTTPS connection.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/\" \/>\n<meta property=\"og:site_name\" content=\"Tempo Hosting Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-06T06:04:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.tempohosting.co.uk\/blog\/wp-content\/uploads\/2026\/11\/tls-handshake-secure-https-connection.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Arthur Edward\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Arthur Edward\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/\"},\"author\":{\"name\":\"Arthur Edward\",\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/0c5cdd8616ac5c6b1d288da7ec3dd903\"},\"headline\":\"TLS Handshake Explained: What Happens Before HTTPS Loads\",\"datePublished\":\"2026-11-06T06:04:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/\"},\"wordCount\":540,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/tls-handshake-secure-https-connection.webp\",\"keywords\":[\"HTTPS\",\"SSL certificates\",\"TLS encryption\",\"TLS handshake\",\"website security\"],\"articleSection\":[\"SSL Certificates\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/\",\"url\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/\",\"name\":\"TLS Handshake Explained: What Happens Before HTTPS Loads - Tempo Hosting Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/tls-handshake-secure-https-connection.webp\",\"datePublished\":\"2026-11-06T06:04:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/0c5cdd8616ac5c6b1d288da7ec3dd903\"},\"description\":\"Learn how the TLS handshake negotiates encryption, validates certificates, creates session keys, and establishes a secure HTTPS connection.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/tls-handshake-secure-https-connection.webp\",\"contentUrl\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/tls-handshake-secure-https-connection.webp\",\"width\":1200,\"height\":675,\"caption\":\"TLS handshake\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/tls-handshake-before-https-loads\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"TLS Handshake Explained: What Happens Before HTTPS Loads\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/\",\"name\":\"Tempo Hosting Blog\",\"description\":\"Practical guides to web hosting, websites, domains and online success.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/0c5cdd8616ac5c6b1d288da7ec3dd903\",\"name\":\"Arthur Edward\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d305c187f77f40bd7f15259964168e8350a52598793dbb6c5ee98b63e767dada?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d305c187f77f40bd7f15259964168e8350a52598793dbb6c5ee98b63e767dada?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d305c187f77f40bd7f15259964168e8350a52598793dbb6c5ee98b63e767dada?s=96&d=mm&r=g\",\"caption\":\"Arthur Edward\"},\"url\":\"https:\\\/\\\/www.tempohosting.co.uk\\\/blog\\\/author\\\/arthur-edward\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"TLS Handshake Explained: What Happens Before HTTPS Loads - Tempo Hosting Blog","description":"Learn how the TLS handshake negotiates encryption, validates certificates, creates session keys, and establishes a secure HTTPS connection.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/","og_locale":"en_US","og_type":"article","og_title":"TLS Handshake Explained: What Happens Before HTTPS Loads - Tempo Hosting Blog","og_description":"Learn how the TLS handshake negotiates encryption, validates certificates, creates session keys, and establishes a secure HTTPS connection.","og_url":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/","og_site_name":"Tempo Hosting Blog","article_published_time":"2026-11-06T06:04:25+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/www.tempohosting.co.uk\/blog\/wp-content\/uploads\/2026\/11\/tls-handshake-secure-https-connection.webp","type":"image\/webp"}],"author":"Arthur Edward","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Arthur Edward","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/#article","isPartOf":{"@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/"},"author":{"name":"Arthur Edward","@id":"https:\/\/www.tempohosting.co.uk\/blog\/#\/schema\/person\/0c5cdd8616ac5c6b1d288da7ec3dd903"},"headline":"TLS Handshake Explained: What Happens Before HTTPS Loads","datePublished":"2026-11-06T06:04:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/"},"wordCount":540,"commentCount":0,"image":{"@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tempohosting.co.uk\/blog\/wp-content\/uploads\/2026\/11\/tls-handshake-secure-https-connection.webp","keywords":["HTTPS","SSL certificates","TLS encryption","TLS handshake","website security"],"articleSection":["SSL Certificates"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/","url":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/","name":"TLS Handshake Explained: What Happens Before HTTPS Loads - Tempo Hosting Blog","isPartOf":{"@id":"https:\/\/www.tempohosting.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/#primaryimage"},"image":{"@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/#primaryimage"},"thumbnailUrl":"https:\/\/www.tempohosting.co.uk\/blog\/wp-content\/uploads\/2026\/11\/tls-handshake-secure-https-connection.webp","datePublished":"2026-11-06T06:04:25+00:00","author":{"@id":"https:\/\/www.tempohosting.co.uk\/blog\/#\/schema\/person\/0c5cdd8616ac5c6b1d288da7ec3dd903"},"description":"Learn how the TLS handshake negotiates encryption, validates certificates, creates session keys, and establishes a secure HTTPS connection.","breadcrumb":{"@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/#primaryimage","url":"https:\/\/www.tempohosting.co.uk\/blog\/wp-content\/uploads\/2026\/11\/tls-handshake-secure-https-connection.webp","contentUrl":"https:\/\/www.tempohosting.co.uk\/blog\/wp-content\/uploads\/2026\/11\/tls-handshake-secure-https-connection.webp","width":1200,"height":675,"caption":"TLS handshake"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tempohosting.co.uk\/blog\/tls-handshake-before-https-loads\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.tempohosting.co.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"TLS Handshake Explained: What Happens Before HTTPS Loads"}]},{"@type":"WebSite","@id":"https:\/\/www.tempohosting.co.uk\/blog\/#website","url":"https:\/\/www.tempohosting.co.uk\/blog\/","name":"Tempo Hosting Blog","description":"Practical guides to web hosting, websites, domains and online success.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tempohosting.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.tempohosting.co.uk\/blog\/#\/schema\/person\/0c5cdd8616ac5c6b1d288da7ec3dd903","name":"Arthur Edward","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d305c187f77f40bd7f15259964168e8350a52598793dbb6c5ee98b63e767dada?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d305c187f77f40bd7f15259964168e8350a52598793dbb6c5ee98b63e767dada?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d305c187f77f40bd7f15259964168e8350a52598793dbb6c5ee98b63e767dada?s=96&d=mm&r=g","caption":"Arthur Edward"},"url":"https:\/\/www.tempohosting.co.uk\/blog\/author\/arthur-edward\/"}]}},"_links":{"self":[{"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/posts\/86","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=86"}],"version-history":[{"count":0,"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/posts\/86\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/media\/85"}],"wp:attachment":[{"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=86"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=86"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tempohosting.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=86"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}