Certificate-Based Login
Cheat sheet · https://pcornel.dk/topic.php?topic=1495
Answer
Certificates authenticate with a private key and an X.509 certificate signed by a trusted CA instead of a password. Used for 802.1X (EAP-TLS), VPNs, SSH and HTTPS management.
Remember
The private key must stay on the device or token. Check validity dates, the chain to a trusted root and revocation (CRL/OCSP). Expired certificates are a common cause of sudden VPN or 802.1X failures.
First checks
show crypto pki certificates— certificates, issuer and validity dates.show crypto pki trustpoints status— enrollment and CA status.show crypto pki crls— revocation lists cached.show clock— device time correct (certificate validity depends on it).
Verify in this order
policy defined → long unique secrets → stored as strong hashes → login attempts limited → MFA for privileged access → credentials changed when compromised
Where it usually breaks
packet selector → class match → marking → policy attachment → queue/policer/shaper → egress counters/drops → receiver behavior
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1495