FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
What actually happens during a TLS handshake and why does it sometimes fail even with a valid certificate?
NewsWeb Development

What actually happens during a TLS handshake and why does it sometimes fail even with a valid certificate?

via Dev.to WebdevMichael Scottie3h ago

The short answer: a TLS handshake is a multi-step cryptographic negotiation and most failures in production have nothing to do with the certificate being invalid. They happen inside the negotiation itself. Here's what the handshake actually involves and where things go wrong under real infrastructure. The core sequence: The client sends a ClientHello with the TLS version it supports, a list of cipher suites, a random nonce and critically a Server Name Indication (SNI) extension that tells the server which hostname it's requesting. On shared infrastructure with multiple virtual hosts behind a reverse proxy, this SNI extension is how the right certificate gets selected. If SNI isn't passed through correctly by a load balancer, the wrong cert gets served silently. The server responds with its chosen cipher suite, its own nonce and its certificate chain (not just the leaf certificate the full chain including intermediates). Key exchange happens next: in TLS 1.2 via an encrypted pre-master

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
2 views

Related Articles

Your Mac Is Cluttered. Here’s How I Fixed Mine
News

Your Mac Is Cluttered. Here’s How I Fixed Mine

Medium Programming • 3h ago

What a squirrel has to do with Master’s studies.
News

What a squirrel has to do with Master’s studies.

Medium Programming • 4h ago

RHAPSODY OF REALITIES - 28TH MARCH 2026
"We’re offsprings of the Word, of the same seed that…
News

RHAPSODY OF REALITIES - 28TH MARCH 2026 "We’re offsprings of the Word, of the same seed that…

Medium Programming • 4h ago

Backward Compatibility in Go: What to Know
News

Backward Compatibility in Go: What to Know

Hackernoon • 5h ago

SteelSeries’ feature-packed Nova Pro Wireless headset is $80 off
News

SteelSeries’ feature-packed Nova Pro Wireless headset is $80 off

The Verge • 5h ago

Discover More Articles