Use it where password-based authentication is too weak, such as device-to-device VPNs, wired and wireless 802.1X, and admin access with smart cards.
Certificate-Based Login
1. show crypto pki certificates — valid from/to, issuer?
2. show clock and NTP — wrong time makes valid certificates fail.
3. Chain complete: the CA certificate in a trustpoint?
4. Revocation check reachable, or set to revocation-check none deliberately?
5. Renew before expiry; monitor expiry dates.
policy defined → long unique secrets → stored as strong hashes → login attempts limited → MFA for privileged access → credentials changed when compromised
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- No revocation checking.
- Certificates expiring without monitoring.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
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.
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).
ReferenceWhat it is1 section · depth on demand
Where certificates are used
- 802.1X EAP-TLS for wired and wireless clients.
- VPN client and site authentication (IKEv2 with certificates).
- SSH with X.509 or key-based logins; smart cards and Windows Hello for Business.
Requires a PKI: issuing, renewing and revoking certificates (CRL/OCSP), and protecting private keys (TPM, smart card). Expired certificates are a common cause of sudden outages.
ReferenceWhy it matters1 section · depth on demand
What it is
Certificate-based authentication shows identity with a private key held by the user or device and a certificate signed by a trusted CA. It is used for 802.1X EAP-TLS, VPN, and device-to-controller trust. Keys never travel over the network, and revocation (CRL/OCSP) removes access without changing shared secrets.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Certificates as authenticators
Certificate-based authentication proves identity with a private key instead of a shared secret. NIST SP 800-63B places cryptographic authenticators at the top of its assurance levels: AAL3 accepts a multi-factor cryptographic authenticator (or a single-factor one plus a password or biometric) and requires phishing resistance, a non-exportable key and authentication intent.
Why certificates are stronger than passwords
| Property | Password | Certificate / key pair |
|---|---|---|
| Secret sent to the verifier | Yes (or derived from it) | No: only a signature |
| Phishing | Possible | Resistant when bound to the service (TLS, WebAuthn) |
| Reuse across services | Common | Each service validates the same key without learning it |
| Revocation | Change the password everywhere | Revoke the certificate centrally |
Uses in networks
| Use | Example |
|---|---|
| 802.1X EAP-TLS | Wired and wireless clients authenticate with device certificates |
| VPN | IKEv2 with certificates instead of pre-shared keys |
| SSH | Public-key or certificate authentication for administrators |
| Device identity | Secure onboarding, controller trust, HTTPS server identity |
| API clients | Mutual TLS |
R1(config)# crypto pki trustpoint CORP-CA
R1(ca-trustpoint)# enrollment url http://10.20.0.30:80
R1(ca-trustpoint)# subject-name CN=r1.example.net
R1(ca-trustpoint)# revocation-check crl
R1(config)# crypto pki authenticate CORP-CA
R1(config)# crypto pki enroll CORP-CA
R1# show crypto pki certificates CORP-CA | include Status|Subject|Validity|end
Status: Available
Subject:
cn=r1.example.net
Validity Date:
end date: 09:12:04 UTC Nov 28 2027
admin$ ssh -i ~/.ssh/id_ed25519 netadmin@10.0.0.1
Operating a certificate system
| Task | Reason |
|---|---|
| Protect private keys (hardware where possible) | Non-exportable keys meet AAL3 |
| Check revocation (CRL or OCSP) | Lost devices and departed users must stop working |
| Monitor expiry | Expired certificates are a common cause of outages |
| Automate enrolment and renewal | Manual renewal doesn't scale |
Documented example, not captured output.
Quick reference
Certificate-based authentication uses a private key held by the user or device and a certificate issued by a trusted CA. Uses in networking: 802.1X EAP-TLS for wired/wireless clients, IKEv2 VPN with certificates, SSH user certificates, HTTPS/RESTCONF management with client certificates.
Advantages: no shared secret to phish, keys can live in TPMs/smart cards. Operational needs: PKI, enrolment (SCEP/EST/Intune), revocation checking (CRL/OCSP) and renewal monitoring — expired certificates are a common cause of sudden authentication outages.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Security → Password Policy → Certificates. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc2475.html · confidence 94%