User and operator guide · Security
CAC/PIV With YubiKey
On this page
Capability StatusHow Atlas Matches CAC/PIV IdentityCAC/PIV ModesConfigure A YubiKey For PIV TLS AuthenticationUse A YubiKey With Atlas Browser CACLocal-Live Lab OptionEvidence To CaptureTroubleshootingClaim BoundaryUse this page when Atlas browser login should accept a CAC/PIV-style client certificate, including a YubiKey used in PIV mode.
This page does not tell an operator to replace an issued CAC. It describes how Atlas consumes client-certificate identity and how a YubiKey can be used as a PIV-compatible credential holder when the deployment authority allows that pattern.
For enterprise CA hierarchy, trust-store ownership, rotation, revocation, and dependency CA mapping, use security:certificate-authority-management.html.
Capability Status
| Capability | Status | Boundary |
|---|---|---|
Demo CAC button |
local-live-only |
Enabled only when demo auth is explicitly enabled by |
Generated local-live browser CAC bundle |
validated |
Created by |
Browser client-certificate flow |
validated for local-live |
Uses the gateway browser CAC listener, Atlas trust bundle config, directory/identity lookup, active-user requirement, and audit path. |
YubiKey PIV as credential holder |
untested |
The guide documents expected setup. Manual or automated evidence must be collected for each target workstation/browser profile. |
Production DoD PKI operation |
external-evidence-required |
Requires approved trust bundle, revocation behavior, issuer acceptance, token lifecycle, and deployment authorization. |
How Atlas Matches CAC/PIV Identity
Atlas accepts the client certificate only after all configured gateway checks pass. The browser CAC/PIV path then maps the certificate to an Atlas or directory user.
| Check | Required outcome |
|---|---|
Certificate presented |
Browser supplies a client certificate during the CAC/PIV browser flow. |
Certificate validation |
Chain, key usage, trust bundle, and revocation behavior match the configured validation mode. |
Identity attributes |
Certificate contains a usable subject, email, EDIPI, SAN, or equivalent mapped attribute. |
Directory or Atlas user match |
A user matches the certificate identity. |
Active account |
The matched user is active. Pending, suspended, or unknown users fail closed. |
Session issuance |
Atlas creates a session with CAC/PIV authentication context and writes audit evidence. |
CAC/PIV Modes
| Mode | When to use | What it proves |
|---|---|---|
Demo CAC |
UI demonstration when |
The demo path can issue a local session for a seeded user. It does not prove browser client-certificate handling. |
Local-live browser CAC |
Integrated validation with generated certificate material. |
The browser CAC listener, client-certificate validation path, identity lookup, active-user gate, session exchange, and audit path work in local-live. |
Real CAC/PIV or YubiKey PIV |
Deployment validation with an environment-issued credential and trust bundle. |
Only the behavior captured by that deployment’s artifacts. Enterprise approval remains external. |
Configure A YubiKey For PIV TLS Authentication
Follow the current Yubico documentation for token setup. Atlas only consumes the resulting client certificate through the browser/gateway flow.
Official references:
Minimum setup checklist:
-
Obtain an X.509 client-authentication certificate and private key from the deployment-approved authority.
-
Confirm the credential may be placed on the YubiKey under local policy.
-
Install Yubico Authenticator or YubiKey Manager CLI (
ykman) on the provisioning workstation. -
Check PIV state with
ykman piv info. -
Import the certificate/key pair into an appropriate PIV slot. Slot
9ais the normal authentication slot for TLS client authentication. -
Verify the certificate appears in
ykman piv info. -
Configure the workstation/browser smart-card middleware, such as operating-system smart-card support or PKCS#11 where required.
-
Confirm the browser prompts for and sends the YubiKey certificate to the Atlas browser CAC URL.
Example import shape:
ykman piv info
ykman piv certificates import 9a path/to/client-auth.p12
ykman piv info
The exact import command, PIN prompts, management key handling, and middleware setup must follow the credential authority and workstation baseline.
Use A YubiKey With Atlas Browser CAC
-
Configure Atlas gateway CAC/PIV trust settings for the target environment.
-
Ensure the browser CAC listener is enabled and reachable.
-
Ensure the YubiKey certificate chain is trusted by the configured trust bundle.
-
Ensure revocation behavior is configured and evidence-backed for the deployment.
-
Create or import the Atlas user and set the account to
ACTIVE. -
Map the certificate identity to the Atlas user by EDIPI, email, subject, or deployment-specific attribute.
-
Open Atlas
/login. -
Select the CAC/PIV browser path.
-
Choose the YubiKey certificate in the browser prompt.
-
Enter the token PIN when the workstation prompts for it.
-
Verify the protected Atlas route opens.
-
Open
/auditand confirm the CAC/PIV authentication event and session issuance are present.
Expected result: Atlas issues a session only when the certificate validates, the user matches, and the account is active.
Local-Live Lab Option
The local-live script generates a PKCS#12 bundle under artifacts/local-live-validation/<run-id>/browser-cac/. That bundle can be imported into a browser profile for local browser testing.
Importing the generated bundle into a YubiKey for a manual lab is untested by the current automated gate. If you do it, label the result as manual local-live evidence and keep it out of production claims.
Evidence To Capture
| Evidence | Source |
|---|---|
Gateway CAC/PIV config |
Rendered gateway configuration with secrets redacted. |
Trust bundle inventory |
Trust anchor list, issuer chain, and environment owner. |
Revocation behavior |
OCSP/CRL configuration, offline/fail-closed policy, and test result. |
Token certificate attributes |
Sanitized subject, issuer, serial/thumbprint, SAN/email/EDIPI mapping evidence. |
User mapping |
Active Atlas/directory user showing matching identity attribute. |
Authentication event |
Audit entry and session metadata showing CAC/PIV authentication context. |
Browser/workstation result |
Screenshot or log showing certificate selection and successful or failed login. |
Troubleshooting
| Symptom | Likely cause | Operator action |
|---|---|---|
Browser does not prompt for a certificate |
Browser does not see the token, smart-card middleware is missing, or the Atlas browser CAC listener is not reached. |
Check token insertion, middleware, browser certificate store, and the browser CAC URL. |
Certificate prompt appears but login fails |
Trust chain, key usage, revocation, or validation mode rejected the certificate. |
Review gateway CAC/PIV logs and trust-bundle configuration. |
Certificate validates but user is not matched |
EDIPI, email, subject, or mapped attribute does not match an active user. |
Correct the identity mapping or activate the intended user. |
User is matched but mutation is denied |
CAC/PIV authentication is not authorization. |
Verify operator role/scope, policy, session AAL, resource access, device posture, and risk state. |
YubiKey import asks for unknown PIN, PUK, or management key |
The token is already managed by an organization or has non-default PIV secrets. |
Stop and contact the token owner or credential authority. |
Claim Boundary
Atlas may cite local-live CAC/PIV evidence for repository-supported behavior. Do not use that evidence to claim:
-
production DoD PKI operation
-
universal hardware-backed AAL3
-
token issuance authority
-
revocation service approval
-
enterprise trust-bundle acceptance
-
FIPS validation, Common Criteria certification, or ATO authorization
Those require external artifacts cited by issuer, owner, date, scope, and expiration or review cycle.