Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Certificate-Based Login

Direct 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.

When to use this

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.

First 30 seconds

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.

Operational verification

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
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard
Scope / prerequisiteUse it where password-based authentication is too weak, such as device-to-device VPNs, wired and wireless 802.1X, and a…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points

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.

Key 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).
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

PropertyPasswordCertificate / key pair
Secret sent to the verifierYes (or derived from it)No: only a signature
PhishingPossibleResistant when bound to the service (TLS, WebAuthn)
Reuse across servicesCommonEach service validates the same key without learning it
RevocationChange the password everywhereRevoke the certificate centrally

Uses in networks

UseExample
802.1X EAP-TLSWired and wireless clients authenticate with device certificates
VPNIKEv2 with certificates instead of pre-shared keys
SSHPublic-key or certificate authentication for administrators
Device identitySecure onboarding, controller trust, HTTPS server identity
API clientsMutual 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

TaskReason
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 expiryExpired certificates are a common cause of outages
Automate enrolment and renewalManual renewal doesn't scale

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 2475

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%
Confirmation

Confirm action

Continue?