HTTP/HTTPS & TLS Handshake Explained
Beginner · 30 minutes · 100 points
In this foundational lab, you will explore the differences between HTTP and HTTPS, observe how TLS secures connections, and inspect the TLS handshake process in action. Using tools like curl, openssl, and wget inside a live container, you will gain hands-on experience understanding how modern web security works at the protocol level.
What you’ll learn
- Understand the difference between HTTP and HTTPS at the protocol level
- Use curl to observe HTTP vs HTTPS response headers and redirects
- Inspect a TLS certificate and understand its key fields
- Simulate and observe the TLS handshake using openssl s_client
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: ubuntu:22.04
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- Internet access from the container
Topics: http, https, tls, ssl, networking, security, curl, openssl, certificates
Create a free account to start this lab.