TLS/SSL Certificates: Generation & Renewal
Beginner · 30 minutes · 100 points
In this hands-on lab, you will learn the fundamentals of TLS/SSL certificates by using OpenSSL to generate certificate authorities, create private keys, generate certificate signing requests (CSRs), and issue self-signed certificates. You will also simulate certificate renewal and inspect certificate details — core skills for any security-conscious engineer.
What you’ll learn
- Generate a private key and a self-signed root Certificate Authority (CA) using OpenSSL
- Create a private key and Certificate Signing Request (CSR) for a server certificate
- Sign the server certificate with your CA and inspect its details
- Simulate certificate renewal by generating a new certificate with an updated expiry date
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
Topics: tls, ssl, openssl, certificates, pki, security, x509, csr, certificate-authority
Create a free account to start this lab.