Recently, I noticed first-hand difficulties in understanding the concepts of TLS certificates in the context of mTLS. This inspired me to create a CTF challenge for players to tackle these concepts:
The Challenge
A customer needs an urgent fix on a server, but somehow that server's clock is stuck at Y2K. The customer gave you the intermediate CA and its key to generate the client certificate you need to connect. The customer also provided you with the fields the certificate needs to have.
Server address: Loading...
Rules
Your client certificate must pass these checks:
- Chain of Trust: Must be signed by the challenge Intermediate CA
- Required SAN: Must contain
player.ctf.local - Enterprise OID: Must contain custom OID
1.3.6.1.4.1.99999.1with valueCTF-MEMBER-ACCESS
Getting Started
The PKI materials are available directly from the server:
ca.crt— Root CA certificateintermediate.crt— Intermediate CA certificateintermediate.key— Intermediate CA private key