TLS
Understand certificates, handshakes and the padlock.
What you will be able to do
- Certificates bind a hostname to a public key.
- TLS 1.2 and 1.3 are acceptable; older versions are not.
- Use HSTS after HTTPS works everywhere.
- Renew certificates automatically.
In plain English
TLS provides encryption, integrity and authentication. The client verifies the server certificate against a trusted authority and checks the hostname. Modern TLS 1.3 shortens the handshake. HSTS tells browsers to use HTTPS only.
curl -vI https://www.edubyte.tech/ 2>&1 | grep -E 'TLS|subject|issuer|expire'
openssl s_client -connect www.edubyte.tech:443 -servername www.edubyte.tech </dev/null 2>/dev/null | openssl x509 -noout -datesYour turn
MediumInspect certificate dates
Use openssl to print the notBefore and notAfter dates for a host.
BASH · starter
openssl s_clientCheck your understanding before moving on.
Knowledge checkQuestion 1
What does a TLS certificate bind together?
Select an answer to continue
Study tools
Make it yours.
Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.
Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign inFinished reading?
Lock in what you just learned.
0%
Mark this lesson complete to save your place and move one step closer to the certificate.