Sign inSign up free

1031. Revoke a Compromised Certificate

medium 20 XP ~10 minHands-on lab

The VPN uses client certificates issued by a small OpenSSL CA in /home/student/ca/ (configuration ca.cnf, database index.txt). The laptop that holds issued/old-laptop.pem was stolen yesterday; its replacement uses issued/laptop-2.pem.

Task

  • Revoke issued/old-laptop.pem in the CA database, with the reason key compromise.
  • Publish a new CRL at /home/student/ca/crl.pem, signed by the CA, whose next update is in 7 days.

Then openssl verify -crl_check -CAfile ca.pem -CRLfile crl.pem must reject old-laptop.pem and still accept laptop-2.pem.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

Part of Networking and TLS in Practice. Next step: Public Key Pins for a Mobile App

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.