TLS
The encryption that protects data travelling over a network, the S in HTTPS.
In more detail
TLS stands for Transport Layer Security; SSL is the name of its older, retired predecessor. It encrypts the connection, and the server proves who it is with a certificate that the client checks against trusted certificate authorities. As a result, passwords, cookies and tokens cannot be read or changed on the way.
Examples
In the APIs course: The course repeats that credentials must only travel over protected transport, which in practice means HTTPS.EFS mounts and HTTPS load balancer listeners use TLS for encryption in transit.In the browser: TLS stands for Transport Layer Security. After the TCP connection opens, the browser and server run a TLS handshake: the server proves who it is with a certificate and both sides agree on session keys. Everything sent afterwards, including cookies and page content, is encrypted.TLS is terminated at the Ingress controller with certificates from cert-manager.ssl.create_default_context(cafile="ca.pem") checks both the chain and the host nameTLS stands for Transport Layer Security; SSL is its obsolete predecessor. It encrypts application bytes in transit, detects tampering and authenticates the server with a certificate. It protects only the connection between the two endpoints that negotiated it: it does not make a compromised server safe or hide metadata such as the destination address.enc=y int=y auth=y app=no lists what TLS promises and what it does not.Cookies with the Secure attribute are only sent over TLS connections.A new python.org Python on macOS cannot verify certificates until Install Certificates.command has run.Old TLS versions where modern ones are normal can indicate a downgrade attack.Related terms
- HTTP — The protocol web browsers and web servers use to send requests and responses.
- encryption — Scrambling data with a key so only someone holding the right key can read it.
- Basic authentication — An HTTP authentication scheme that sends a user name and password in the Authorization header, joined with a colon and Base64-encoded.
- API gateway — A server that sits in front of one or more services and handles shared concerns such as routing, authentication, rate limits and TLS for every request.
- encryption in transit — Protecting data while it moves across a network, so it cannot be read (confidentiality) or altered unnoticed (integrity) on the way.
- registry — A server that stores images and lets clients push and pull them by name, tag or digest.
- Docker socket — The file-like connection point, usually /var/run/docker.sock, through which programs send commands to the Docker daemon.
- TLS certificate — A signed digital document that proves a server really owns a domain name and holds the key used to start encrypted TLS connections.
- session key — A temporary secret key that the browser and server agree on during the TLS handshake and use to encrypt one connection.
- TCP — The internet protocol that delivers data between programs reliably and in order, used by the web and most databases.
- TLS termination — Ending an encrypted TLS connection at a proxy or gateway, which decrypts the traffic and forwards it on to the service.
- cert-manager — A Kubernetes add-on that requests TLS certificates, stores them as secrets and renews them before they expire.
- TLS handshake — The opening exchange of a TLS connection, in which client and server agree on settings, check certificates and create shared keys.
- certificate verification — The client's checks that a server certificate chains to a trusted authority, is in date, and names the host it asked for.
- Secure attribute — A cookie attribute that tells the browser to send the cookie only over encrypted HTTPS connections.
- Install Certificates.command — A script in the python.org macOS install folder that installs the certifi certificate bundle so secure web downloads work.
- certifi — A Python package that provides Mozilla's list of trusted certificate authorities, used to check that secure websites are genuine.
Taught in
- Connect An Agent To MCP — AI Engineering: LLM Apps, RAG & Agents
- Basic Auth, Tokens And Sessions — Modern API Architecture: REST, GraphQL & gRPC
- API Gateways And Proxies — Modern API Architecture: REST, GraphQL & gRPC
- Handling PII And Data Privacy — Modern API Architecture: REST, GraphQL & gRPC
- Ten Requests From The Auditor — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Twelve Alerts, Ten Services — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Confusable Services Sprint: One Clue Each — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- Policy Evaluation: Deny Wins, And Both Accounts Must Agree — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- The Edge: WAF, Shield, CloudFront And GuardDuty — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- KMS And Envelope Encryption: Who Can Still Decrypt? — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Load Balancers And Auto Scaling: Capacity That Arrives On Time — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Twenty Minutes Down At Lunchtime: App Service Plans And Slots — Microsoft Azure Administrator (AZ-104) Exam Prep
- Ten Workloads, One Week: The Compute Decision Drill — Microsoft Azure Administrator (AZ-104) Exam Prep
- No Public Doors: Bastion, Service Endpoints And Private Endpoints — Microsoft Azure Administrator (AZ-104) Exam Prep
- Desired State And Configuration Management — Microsoft Azure DevOps Engineer Expert (AZ-400) Exam Prep
- Forty-Six Of Sixty: The Mock And What It Tells You — Certified GitOps Associate (CGOA) Exam Prep
- Upgrades In The Only Order That Works — Certified Kubernetes Administrator (CKA) Exam Prep
- Ingress: Hosts, Paths And The Class That Serves Them — Certified Kubernetes Administrator (CKA) Exam Prep
- Gateway API: A Route Asks, A Gateway Allows — Certified Kubernetes Administrator (CKA) Exam Prep
- Services And Networking: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- kube-bench: Ten Failures On A Fresh Cluster — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Ingress TLS: When The Padlock Lies — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Encrypting Pod-to-Pod Traffic: mTLS With Istio And Cilium — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Elastic File System (EFS) — Cloud Infrastructure & Hyperscaler Architecture
- Peered To Everything, Reaching Nothing — CompTIA Cloud+ (CV0-004) Exam Prep
- The Container That Did Not Come Back — CompTIA Cloud+ (CV0-004) Exam Prep
- Seven Wishes: AI Services And The Internet Of Things — CompTIA Cloud+ (CV0-004) Exam Prep
- A Worksheet With Eight Boxes: Provisioning To Requirements — CompTIA Cloud+ (CV0-004) Exam Prep
- An Image That Runs As Root: Security Best Practices — CompTIA Cloud+ (CV0-004) Exam Prep
- The Bill That Jumped Overnight: Spotting Attacks — CompTIA Cloud+ (CV0-004) Exam Prep
- Fine From Home, Broken At The Office: Network Troubleshooting — CompTIA Cloud+ (CV0-004) Exam Prep
- A Padlock Warning On Monday: Troubleshooting Security — CompTIA Cloud+ (CV0-004) Exam Prep
- Shared Responsibility Model & Cloud Threat Landscapes — Cloud Security & DevSecOps Engineering
- Security Landing Zones & Centralized Egress Inspection — Cloud Security & DevSecOps Engineering
- Works On A Laptop, Fails In Production — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Certificate That Expired On A Sunday — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Where Is The Password Kept? — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- The Night Before The Administrator Exam — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep
- Symmetric Encryption: AES-GCM & ChaCha20 — Cybersecurity Fundamentals, GRC & Cryptography
- Asymmetric Cryptography: RSA, ECC & Diffie-Hellman — Cybersecurity Fundamentals, GRC & Cryptography
- Public Key Infrastructure: X.509 Certificates & CAs — Cybersecurity Fundamentals, GRC & Cryptography
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography
- Data States: Security at Rest, in Transit, and in Use — Cybersecurity Fundamentals, GRC & Cryptography
- Data Loss Prevention & Egress Monitoring — Cybersecurity Fundamentals, GRC & Cryptography
- Authenticate, Tag, Push And Pull From A Registry — Docker Architecture & Production Containers
- How Browsers Work: Navigation, DNS, TCP, TLS And Request Timing — Frontend Architecture & Web Platform
- Critical Rendering Path: Preload, Prefetch And Scripts — Frontend Architecture & Web Platform
- API Gateway & BFF Patterns: Backend-for-Frontend — Production Full-Stack Engineering
- Kubernetes Ingress, Routing & TLS Termination — Production Full-Stack Engineering
- The Container Registry: Build, Tag, Push, Clean Up — GitLab Certified CI/CD Associate Exam Prep
- Shipping in Scratch and Distroless Images — Concurrent Systems Programming with Go
- VPNs, Wireless And The Devices Inside Things — ISC2 Certified in Cybersecurity (CC) Exam Prep
- Who May Call Payments: Pod Networking And Policy — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- A Copy Of The Backup: etcd — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Port 30080 On Every Node: kube-proxy, Networking And Clients — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Encoded Is Not Hidden: Secrets — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- One Dash Too Many: Segmentation With Network Policy — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Draw The Boundaries: Trust And Data Flow — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- One Pod Away: Network Attackers And Sensitive Data — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Threat Model Sprint: Name It, Then Stop It — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Four Alerts, One Incident: Observability And The Mesh — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- A Cluster's First Birthday: PKI And Connectivity — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Platform Sprint: Evidence, Order, Proof — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- Audit Day: Final Review — Kubernetes and Cloud Native Security Associate (KCSA) Exam Prep
- NodePort, LoadBalancer And ExternalName — Kubernetes: Production-Grade Container Orchestration
- Ingress: Controllers, Hosts, Paths And TLS — Kubernetes: Production-Grade Container Orchestration
- NetworkPolicy And The Consul Service Mesh Boundary — Kubernetes: Production-Grade Container Orchestration
- What HTTPS Adds, And What It Does Not — Linux Fundamentals & Systems Administration
- Certificates, Chains And What A Handshake Proves — Linux Fundamentals & Systems Administration
- Forward And Reverse Proxies — Linux Fundamentals & Systems Administration
- Session Management: Secure Cookies & Token Validation — Next.js 15 & Modern App Router Architecture
- Transform Streams: Custom Packet Decoding & Codecs — Node.js Internals & Backend Services
- TLS & HTTPS Encryption: Certificates & SNI Contexts — Node.js Internals & Backend Services
- Installing Python On A Mac — Hands-on Python: Complete Video Course & Book
- SIEM Architecture: Ingestion Pipelines & Indexing — Security Operations & Threat Hunting (SOC)
- Detection as Code: Authoring & Testing Sigma Rules — Security Operations & Threat Hunting (SOC)
- Secure Defaults — Application Security & Threat Modeling for Engineers
- TLS And The Handshake — Application Security & Threat Modeling for Engineers
- How To Stop Drowning In Findings — Application Security & Threat Modeling for Engineers
- Choosing The Right Cryptography — CompTIA Security+ (SY0-801) Exam Prep
- Load Balancing And The Failure Modes It Introduces — Scalable System Design & Distributed Architecture
- Where Modules Come From — HashiCorp Terraform Associate (004) Exam Prep
- Our Own Registry: Deploy, Push, Pull, Search And Delete — Docker Certified Associate (DCA) Exam Prep
- One Comma, No Engine: Installing And Configuring Docker Engine — Docker Certified Associate (DCA) Exam Prep
- Port 2375, Open To The Office: Engine TLS And Registry Certificates — Docker Certified Associate (DCA) Exam Prep
- Two Of Everything: Deploying, Sizing And Backing Up UCP And DTR — Docker Certified Associate (DCA) Exam Prep
- Installation Sprint: Eight Configuration Calls — Docker Certified Associate (DCA) Exam Prep
- Any Node, Any Task: Overlay Networks, The Routing Mesh And Layer 7 — Docker Certified Associate (DCA) Exam Prep
- Four Questions From The Auditor: Swarm Security, Autolock And Content Trust — Docker Certified Associate (DCA) Exam Prep
- Who Let Femi In? UCP Roles, Grants, LDAP And Client Bundles — Docker Certified Associate (DCA) Exam Prep
- Clocks, Names, Addresses And Pages: The Services Every Depot Runs — CompTIA Linux+ (XK0-006) Exam Prep
- The Certificate That Expired On A Sunday: Hashes, Encryption And Certificates — CompTIA Linux+ (XK0-006) Exam Prep
- Patched On Paper: Missing Updates, Broken Chains, Old Protocols And Open Doors — CompTIA Linux+ (XK0-006) Exam Prep
- Time Sync With chrony: Servers, Zones And Proof — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Git For Admins: Who Changed That, And How To Undo It — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- SSL Certificates: Create, Inspect And Verify A Chain — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- LDAP Users Through SSSD — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- Addresses, Subnets And Ports — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep
- Drill: A Web Node From A Ticket — RHCE in Ansible (EX294): Automate Red Hat Systems
References
- RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3
- MDN: TLS
- RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3
- Protect the Docker daemon socket
- OWASP Transport Layer Security Cheat Sheet
- RFC 9110: HTTP Semantics
- ssl module
Certification courses
- AWS AIP-C01 course and practice exam: AI engineering with LLM apps, RAG and agents
- AWS Cloud Practitioner course and practice exam: CLF-C02
- AWS Solutions Architect Associate course and practice exam: SAA-C03
- AZ-104 course and practice exam: Microsoft Azure Administrator
- AZ-400 course and practice exam: Microsoft Azure DevOps Engineer Expert
- CGOA course and practice exam: Certified GitOps Associate
- CKA course and practice exam: Certified Kubernetes Administrator
- CKAD course and practice exam: Certified Kubernetes Application Developer
- CKS course and practice exam: Certified Kubernetes Security Specialist
- CompTIA Cloud+ course and practice exam: CV0-004
- CCDAK and CCAAK course and practice exams: Confluent Apache Kafka certifications
- GitLab CI/CD Associate course and practice exam: GitLab Certified CI/CD Associate
- ISC2 CC course and practice exam: Certified in Cybersecurity
- KCNA course and practice exam: Kubernetes and Cloud Native Associate
- KCSA course and practice exam: Kubernetes and Cloud Native Security Associate
- CompTIA Security+ course and practice exam: SY0-801
- Terraform Associate course and practice exam: HashiCorp Terraform Associate (004)
- DCA course and practice exam: Docker Certified Associate
- CompTIA Linux+ course and practice exam: XK0-006
- LFCS course and practice exam: Linux Foundation Certified System Administrator
- LPIC-1 course and practice exam: Linux Administrator (101-500 and 102-500)
- RHCE course and practice exam: Red Hat Certified Engineer in Ansible (EX294)