User and operator guide · Security

Certificate Authority Management

Status: currentReviewed: 2026-06-18Audience: enterprise deployment engineers, platform security engineers, PKI administrators, IAM administrators, ISSOs
On this pageTrust HierarchyAuthority LayersAtlas Trust StoresConfiguration OrderConfiguration MatrixEnterprise CA OperationsRequestIssueDistributeRotateRevokeMonitorLocal-Live Versus Enterprise CAEvidence PackageTroubleshootingRelated Pages

Use this page to configure and manage certificate authority material for Atlas in an enterprise environment.

Atlas uses certificate authority material in several different trust domains. Treat each domain separately. A certificate that is valid for browser TLS is not automatically valid for CAC/PIV identity, service mTLS, Atlas Cache, LDAP, Vault, federation metadata, or TrustAI edge scoring.

Trust Hierarchy

Ca Hierarchy
Ca HierarchyArchitecture diagramOpen full size ↗

Authority Layers

Layer Purpose Atlas configuration Enterprise owner

Root CA

Top-level trust anchor approved for the environment.

Not embedded directly in application code. Root material appears through trust bundles such as config/pki.yaml pki.trust_store.bundle_path.

Enterprise PKI or enclave CA authority.

Issuing intermediate CA

Issues service, client-auth, dependency, or workload certificates.

Referenced through mounted trust bundles and certificate chains.

Enterprise PKI, platform PKI, or SPIRE authority.

Gateway service certificate

Presents Atlas HTTPS to browsers and API clients.

api_gateway.tls_cert, api_gateway.tls_key.

Ingress/platform owner.

Browser CAC/PIV trust bundle

Validates user-presented client certificates for the browser CAC/PIV flow.

api_gateway.client_certificate_auth.trust_bundle_path.

IAM/PKI owner.

Dependency CA bundle

Validates TLS for Vault, LDAP/S, Atlas Cache, OIDC metadata, TrustAI, SIEM, and related dependencies.

vault.ca_cert, ldap.tls_ca_cert_path, redis.tls_ca_cert_path, trustai.edge_scoring.tls.ca_cert_path, provider tls_ca_cert_path.

Owning service team or platform PKI.

SPIFFE workload CA

Issues short-lived workload identities for internal mTLS.

spiffe.trust_domain, Workload API socket, SPIRE registration entries.

SPIRE/platform security owner.

Local-live generated CA

Generates deterministic local certificates for validation.

Created under artifacts/local-live-validation/<run-id>/.

Local validation run only.

Atlas Trust Stores

Atlas has multiple trust stores. Keep them separate in configuration and evidence.

Trust store What it validates Configuration anchor Evidence to capture

Gateway HTTPS certificate chain

Browser/API clients trust the Atlas gateway endpoint.

api_gateway.tls_cert, api_gateway.tls_key, ingress certificate configuration.

Certificate chain, SANs, expiration, issuer, DNS name, and live endpoint probe.

Browser CAC/PIV trust bundle

User client certificates in the browser CAC/PIV flow.

api_gateway.client_certificate_auth.trust_bundle_path.

Trust bundle inventory, issuer list, revocation behavior, successful and denied client-certificate tests.

PKI readiness bundle

Repository readiness posture for DoD PKI-style CAC/PIV validation.

config/pki.yaml pki.trust_store.*.

scripts/check-dodpki-fips-readiness.sh output plus external artifacts when making enterprise claims.

LDAP/S trust

Directory TLS endpoint.

ldap.use_tls, ldap.tls_ca_cert_path, ldap.insecure_skip_verify.

LDAP chain validation, bind test, and failed invalid-chain test.

Vault trust

Vault TLS endpoint.

vault.address, vault.ca_cert, vault.skip_verify.

Vault health, CA bundle, policy evidence, and skip_verify=false in non-development.

Atlas Cache trust

Redis-compatible cache TLS or mTLS endpoint.

config/atlas-cache.yaml TLS listener plus client redis.tls_ca_cert_path, redis.tls_client_cert_path, redis.tls_client_key_path.

Cache /readyz, TLS/mTLS probe, no broad plaintext exposure outside development.

TrustAI edge mTLS

Gateway/client trust for TrustAI edge scoring.

trustai.edge_scoring.tls.ca_cert_path, client_cert_path, client_key_path, server_name.

mTLS health probe, client certificate inventory, denied unauthorized client test.

Federation provider CA

OIDC/SAML metadata or discovery endpoints when custom CA is required.

Provider tls_ca_cert_path.

Metadata fetch, JWKS/signing validation, negative issuer/audience/signature tests.

SPIFFE trust bundle

Internal Atlas service identities.

SPIRE server/agent, spiffe.trust_domain, service allowlists.

SVID issuance, allowed peer handshake, denied peer handshake, rotation evidence.

Configuration Order

Configure CA material in this order so failures are easy to diagnose.

  1. Select the enterprise trust authorities. Record root and intermediate owners, issuer policy, certificate profiles, revocation sources, and expiration policy.

  2. Define trust-bundle mount paths. Use deterministic paths such as /etc/pki/atlas/<domain>/bundle.pem or the environment standard. Do not point multiple trust domains at an unreviewed global bundle.

  3. Configure the gateway HTTPS certificate. Set api_gateway.tls_enabled=true, api_gateway.tls_cert, and api_gateway.tls_key. The certificate SAN must cover the gateway URL operators use.

  4. Configure browser CAC/PIV separately. Set api_gateway.client_certificate_auth.enabled=true, browser_listen_addr, browser_base_url, and trust_bundle_path. In non-development environments, do not use allowed_root_subjects; the code permits that shortcut only for development.

  5. Configure dependency TLS. Set CA paths for LDAP, Vault, Atlas Cache, TrustAI edge scoring, federation providers, SIEM/webhooks, and any deployment-specific dependencies.

  6. Configure internal workload identity. If SPIFFE is enabled, set the trust domain, Workload API socket, service allowlists, and SPIRE registration entries. SPIFFE service identity does not replace browser CAC/PIV trust.

  7. Record revocation policy. In config/pki.yaml, repo readiness expects OCSP and CRL checks enabled, fail_mode: fail_secure, and DDIL/offline grace defined. Deployed environments must attach the actual OCSP/CRL or offline revocation evidence.

  8. Validate and package evidence. Run the readiness and guide checks, then attach external CA evidence before making enterprise claims.

Configuration Matrix

Concern Required setting Fail-closed rule

Gateway HTTPS

api_gateway.tls_enabled=true; valid tls_cert and tls_key.

Non-development config must not serve the gateway without TLS.

Browser CAC/PIV

client_certificate_auth.enabled=true; HTTPS browser_base_url; non-empty trust_bundle_path.

Missing browser listener, base URL, or trust bundle fails configuration validation.

Development root subject shortcut

allowed_root_subjects may appear only in development.

Non-development config with allowed_root_subjects fails validation.

LDAP/S

ldap.use_tls=true; ldap.insecure_skip_verify=false; CA path when using private CA.

Non-development config cannot disable LDAP TLS or skip verification.

Vault

HTTPS address, vault.skip_verify=false, and a real auth path/token policy.

Non-development config cannot use insecure Vault trust.

TrustAI edge scoring

TLS enabled outside development with CA, client certificate, and client key paths.

Missing mTLS material fails configuration validation.

Atlas Cache

TLS and client CA required outside development-like environments when Atlas Cache TLS listener is enabled.

Security-sensitive cache writes must fail closed rather than silently losing session, nonce, or denylist state.

Federation provider custom CA

tls_ca_cert_path when the provider uses a private CA.

insecure_skip_verify and custom CA cannot be combined.

Enterprise CA Operations

Request

Before requesting a certificate, record:

  • service name and owner

  • environment

  • DNS names and SANs

  • intended use: server auth, client auth, mTLS, signing, or workload identity

  • issuing CA and certificate profile

  • validity period

  • private-key custody and rotation owner

  • revocation contact path

Issue

Issue certificates through the enterprise CA or approved enclave CA. Do not use local-live generated certificates for enterprise operation.

Expected artifacts:

  • certificate signing request or issuance request

  • issued certificate and chain

  • issuer profile or policy reference

  • private-key storage location, recorded as a secret reference rather than raw key material

  • approval or change record

Distribute

Distribute certificates and trust bundles through the deployment mechanism:

Runtime Distribution pattern

Kubernetes

Secrets or cert-manager-managed objects for keypairs; ConfigMaps or mounted secrets for CA bundles; namespace RBAC limiting read access.

Docker or single host

Mounted read-only files with host permissions; no private keys in images.

Classified or offline

Approved media transfer, hash manifest, custody log, and enclave-local trust-bundle import.

Local-live

Generated files under the run artifact directory only.

Rotate

Rotation must be planned before expiration. Use a dual-trust window where possible:

  1. Add the new issuing CA or intermediate to trust bundles.

  2. Deploy new service certificates.

  3. Validate old and new chains during the overlap period.

  4. Remove retired CA material after all dependent services move.

  5. Capture validation artifacts and audit/change records.

Revoke

Revocation must be explicit for compromised, retired, or incorrectly issued certificates.

For CAC/PIV and client-auth certificates, Atlas deployment evidence should show:

  • revoked certificate is rejected

  • unreachable revocation source follows the configured fail-secure or DDIL offline policy

  • stale cached revocation data is denied after the approved grace period

  • audit events preserve the denial reason without logging private keys or raw bearer tokens

Monitor

Monitor at least:

  • certificate expiration windows

  • issuer changes

  • trust-bundle file changes

  • revocation source reachability

  • failed TLS handshakes

  • failed CAC/PIV identity matches

  • SPIFFE SVID rotation and unauthorized peer denials

Local-Live Versus Enterprise CA

Topic Local-live Enterprise

Root CA

Generated per run.

Approved CA or enclave CA.

Gateway certificate

Generated local certificate.

Issued for the enterprise DNS name.

CAC/PIV trust

Generated local browser CAC bundle and trust bundle.

Approved CAC/PIV or client-auth trust bundle with revocation evidence.

Revocation

Local-live/offline validation behavior.

OCSP/CRL or approved offline policy with external evidence.

Admin credential

Seeded operator and demo CAC material.

Enterprise identity proofing, credential issuance, role assignment, and audit.

Claim status

local-live-only or validated for repository behavior.

external-evidence-required until deployment artifacts are attached.

Evidence Package

Place CA evidence under the deployment evidence package, for example:

artifacts/deployment/<run-id>/ca/
  ca-inventory.adoc
  gateway-certificate-chain.pem
  gateway-certificate-inspection.txt
  client-auth-trust-bundle-inventory.txt
  revocation-ocsp-checks.txt
  revocation-crl-checks.txt
  dependency-ca-map.adoc
  spiffe-trust-domain.txt
  rotation-plan.adoc
  rollback-plan.adoc
  external-approval-notes.adoc

Minimum evidence:

  • make guide-check

  • ./scripts/check-dodpki-fips-readiness.sh

  • rendered Atlas configuration with secrets redacted

  • certificate chain and SAN inspection for gateway and browser CAC listener

  • trust-bundle inventory and hash

  • live endpoint TLS probe

  • CAC/PIV accepted and denied case when enabled

  • dependency TLS health checks

  • revocation accepted, revoked, unreachable, and stale cases when making PKI claims

  • external approval artifacts for enterprise CA, DoD PKI, FIPS, ATO, or classified claims

Troubleshooting

Symptom Likely cause Operator action

Browser does not trust Atlas

Gateway certificate chain or SAN does not match the URL.

Inspect the served chain, verify SANs, and replace the gateway certificate through the enterprise CA process.

CAC/PIV browser prompt does not appear

Browser CAC listener is disabled or the URL does not request a client certificate.

Check api_gateway.client_certificate_auth.* and the browser CAC listener health.

CAC/PIV certificate validates but login fails

Certificate identity does not map to an active Atlas/directory user.

Verify EDIPI, email, subject, and user status.

LDAP or Vault fails only in enterprise

The service CA is not in the configured dependency trust bundle.

Add the correct CA bundle path and rerun dependency health checks.

SPIFFE mTLS works in one service but not another

Workload registration or allowed SPIFFE ID is missing.

Inspect SPIRE entries, SVIDs, and service allowlists.

Revocation check blocks all users

OCSP/CRL endpoint unreachable and policy is fail-secure.

Restore revocation reachability or apply the approved DDIL/offline policy with evidence.