Security Basics — SSH, TLS and Certificates
Learning Hub / Security & Identity

Security Basics — SSH, TLS and Certificates

Beginner → Practitioner16 lessonsAvailable

The security foundation every engineer needs before Kubernetes or zero trust. Why systems get attacked and the core ideas that defend them, the vocabulary used in every security conversation, and cryptography explained without maths. Then the two protocols you use every day: SSH (how it works, keys, and hardening a server) and TLS (what HTTPS adds, every term on a certificate, certificate authorities and the chain of trust, self-signed certificates and a private CA, free automated certificates, expiry and renewal, and fixing the common errors). It finishes with passwords, MFA, secrets, firewalls and patching, and a capstone that hardens a fresh server.

You'll meetCIA triaddefence in depthleast privilegeencryptionhashingdigital signatureSSHssh-keygensshd_configfail2banHTTPSTLScertificateSANcertificate authoritychain of trustself-signedCSRLet's EncryptACMEcertificate expiryMFAsecretsfirewall
Start lesson 01 →

What you'll be able to do

  • Explain why security matters using confidentiality, integrity and availability, and name the core defensive principles
  • Use security vocabulary precisely: threat, vulnerability, risk, authentication, authorisation, encryption, hashing
  • Explain how SSH proves the server and the user, set up keys properly and harden an SSH server safely
  • Explain what HTTPS protects, and read every important field on a certificate
  • Create a self-signed certificate and a private CA, and know when each is acceptable
  • Automate certificates, monitor expiry, and fix the common TLS errors
  • Harden a new Linux server end to end with a repeatable checklist

Before you start

Basic Linux command line (Linux, level 1).

How it works

Each lesson: plain-language idea → how it really works → hands-on. Each section ends with a cheat sheet & self-check.

Curriculum

Lessons marked “Read” are ready; the rest are on the way.

Real-world scenarios

Work through each one: symptom → misleading signal → evidence → root cause → prevention.

The certificate that expired on Sunday

The website shows a red warning page on Sunday morning. Find the cause and make sure it never happens again.

Thousands of failed logins

auth.log shows thousands of SSH password attempts a day. Decide what to change and change it without locking yourself out.

It works in the browser but not in curl

A site loads in Chrome but curl and Java clients fail with an unknown issuer. Explain why and fix it.

This site is a public version of my personal engineering knowledge hub. It intentionally excludes confidential company information and internal operational details.