Stencel AcademyHow Infrastructure Works →
Part 2 · Lesson 9 · Intermediate

TLS & Certificates

Prove who you're talking to, then encrypt everything.

In this interactive Infrastructure lesson from Stencel Academy you don't just read — you type real commands like openssl s_client -connect api.stencel.ai:443, curl https://203.0.113.10/ and watch the machine respond on a live, animated map. It is part of the free How Infrastructure Works course.

Key takeaway: The certificate proves the server's name; the chain of trust proves the certificate. Then everything is encrypted.

Before this lesson

Builds on: TCP: The Reliable Pipe.

What you'll practise

Terms you'll learn

TLScertificatecertificate authority (CA)chain of trustsession key

Check your understanding

curl https://203.0.113.10/ failed. What went wrong?
Open the interactive lesson →