---
title: "Discussion on \"TLS and Certificates: How Two Strangers Agree on a Secret, and Why Your Browser Trusts Anyone\" | Hashnode"
description: "Discussion on \"TLS and Certificates: How Two Strangers Agree on a Secret, and Why Your Browser Trusts Anyone\". Series: Networking Foundations | Post 8 of 14\n\nIn the last post, we said HTTPS wraps your connection in an encrypted tunnel called TLS. But that raises two questions that sound almost impossible when you first hear them. How do two machines that have never met, talking over a wire that anyone can listen to, agree on a secret key that the eavesdropper cannot learn? And how does your browser know the server on the other end is really who it claims to be, and not an impostor? This post answers both. It is the deep machinery of trust on the internet."
url: "https://hashnode.com/posts/tls-and-certificates-how-two-strangers-agree-on-a-secret-and-why-your-browser-trusts-anyone/6a7f3cf48f2065213c2c5c49"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TLS and Certificates: How Two Strangers Agree on a Secret, and Why Your Browser Trusts Anyone](https://victor-chukwuemeka.hashnode.dev/tls-and-certificates-how-two-strangers-agree-on-a-secret-and-why-your-browser-trusts-anyone?utm_source=hashnode&utm_medium=feed)

Series: Networking Foundations | Post 8 of 14 In the last post, we said HTTPS wraps your connection in an encrypted tunnel called TLS. But that raises two questions that sound almost impossible when you first hear them. How do two machines that have never met, talking over a wire that anyone can listen to, agree on a secret key that the eavesdropper cannot learn? And how does your browser know the server on the other end is really who it claims to be, and not an impostor? This post answers both. It is the deep machinery of trust on the internet.

Aug 14 · 18 min read · victor-chukwuemeka.hashnode.dev  
Read the article

-   [#cybersecurity](https://hashnode.com/tag/cybersecurity)
-   [#tls](https://hashnode.com/tag/tls)
-   [#encryption](https://hashnode.com/tag/encryption)
-   [#pki](https://hashnode.com/tag/pki)
-   [#infosec](https://hashnode.com/tag/infosec)
-   [#networking](https://hashnode.com/tag/networking)
-   [#websecurity](https://hashnode.com/tag/websecurity)
-   [#devops](https://hashnode.com/tag/devops)
-   [#cryptography](https://hashnode.com/tag/cryptography)
-   [#itcareer](https://hashnode.com/tag/itcareer)

## Written by

[Victor Chukwuemeka Onwuegbuchulem](https://hashnode.com/@VickkyProgramming)

@VickkyProgramming · London, United Kingdom

  
[View profile](https://hashnode.com/@VickkyProgramming)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
