Rotate the Certificate on an HTTPS Reverse Proxy

The edge on server1 already terminates TLS for app.ops.example.test with a certificate that is about to expire. Mint a replacement from the training CA, stage it beside the old one, rehearse a broken configuration that must never reach the live worker, then reload and prove from the client that the serial changed and the application never went away.

Skill labadvanced~55 minPro

What you'll do

  • ✓Read serial, validity, issuer and SAN off the certificate a live server presents
  • ✓Generate a key on the server, a CSR, and a CA-signed leaf with a subjectAltName
  • ✓Stage key and certificate under versioned paths with 0600 and the right SELinux label
  • ✓Validate a staged nginx configuration before reload and see a bad one refused
  • ✓Verify chain and hostname from the client without -k and keep the old pair for rollback

Lab outline

  1. 01What the edge serves today
  2. 02Mint and stage the replacement
  3. 03Switch without dropping a request

Before you start

  • Nginx Reverse Proxy in Front of a Private Application
  • SSH Keys and Access Hardening
  • Repair SELinux File Contexts

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Rotate the Certificate on an HTTPS Reverse Proxy — Linux lab | Kube Labs