Runs a series of checks to diagnose common setup problems.
Usage
| Check | What it verifies |
|---|
| Config validity | cordon.yaml parses and validates correctly |
| Cert paths | CA cert and key files exist at configured paths |
| Cert expiry | CA certificate is not expired |
| Trust store | CA is trusted in the system trust store |
| Port availability | Configured listen port is available |
| Service status | Background service is running (if installed) |
Example output
Config .............. OK (cordon.yaml)
CA certificate ...... OK (expires 2027-03-19)
CA key .............. OK
System trust ........ OK (trusted)
Port 6790 ........... OK (available)
Service ............. OK (running)
Run cordon doctor as the first troubleshooting step when something isn’t working.