User and operator guide · Operations

Manage Certificates

Status: currentReviewed: 2026-07-10Audience: operators, security reviewers
On this pageUse This Page WhenBefore You BeginWhat You Will DoProcedureRead the inventoryRotate the SAML server signing key (guided, zero-downtime)Rotate a per-application signing keyRevalidate a federation partner’s certificatesVerifyTroubleshootingRelated Pages

Use the certificate workbench to see every certificate Atlas issues or serves in one inventory, and to rotate a SAML signing key without breaking service-provider trust.

Certificate inventory
Certificate inventoryAtlas interfaceOpen full size ↗

Use This Page When

  • Review certificate expiry, fingerprints, and trust status across the whole platform.

  • Rotate the SAML IdP server signing key (or a per-app signing key) ahead of expiry, with no downtime.

  • Diagnose why a service provider (SP) is rejecting signatures after a rotation.

Before You Begin

Requirement What to verify

Access

Security → CERTIFICATES (/security/certificates), minimum assurance AAL2. Viewing needs security.certificates.read; every rotation verb needs security.certificates.manage.

Runtime

The gateway is up. For a staged rotation the target SP must be reachable so it can pre-trust the staged key.

Configuration

Know which SP pins the active signing certificate — that is the party the drift check watches.

Evidence boundary

Atlas proves the inventory, the rotation sequence, and its own drift check. The SP’s trust decision and external CA issuance are out of scope.

What You Will Do

  1. Open the inventory and read expiry, fingerprints, and trust status.

  2. Stage the next signing key so the SP can pre-trust it.

  3. Install it at the SP and confirm the pin matches the staged key.

  4. Activate — the previous key retires.

Procedure

Read the inventory

  1. Open Security → CERTIFICATES. Viewing requires security.certificates.read at AAL2.

  2. The unified inventory (GET /api/v1/security/certificates) lists SAML IdP server and per-application signing keys (in active, staged, and retiring slots), federation partner metadata certificates, the gateway TLS certificate, CAC trust anchors, and SP-pinned certificates.

  3. For each row read the days-to-expiry status (ok, expiring under 30 days, or expired), the SHA-1 and SHA-256 fingerprints, and the trust status (matching or drifted). Download the PEM when you need the raw certificate.

Rotate the SAML server signing key (guided, zero-downtime)

Rotation requires security.certificates.manage. The guided path keeps SP trust intact:

  1. Generate next. POST /api/v1/security/certificates/saml-server/stage mints the next signing key into the staged slot and publishes it in the IdP metadata, so an SP can pre-trust it before it ever signs.

  2. Install at SP. Refresh the SP’s copy of the IdP metadata (or download the staged PEM and load it). Atlas runs a live pinnedMatchesStaged check so you can confirm the SP now trusts the staged key.

  3. Activate. POST /api/v1/security/certificates/saml-server/activate promotes the staged key to active; the previous key moves to the retiring slot.

  4. To abandon a staged key before activation, POST /api/v1/security/certificates/saml-server/cancel-stage.

Important

Rotate immediately (POST /api/v1/security/certificates/saml-server/rotate with body {"confirm":true}) skips staging. If an SP still pins the previous certificate, Atlas returns the warning SP pins the previous certificate — status is drifted until the SP re-pins and the row reports drifted until the SP re-pins. Prefer staged rotation whenever the SP is reachable.

Rotate a per-application signing key

  1. Use the same verbs against the app-scoped route: POST /api/v1/applications/{id}/saml-signing/\{stage|activate|cancel-stage|rotate}.

Revalidate a federation partner’s certificates

  1. POST /api/v1/security/certificates/federation/{providerId}/revalidate (read capability) re-fetches a partner’s metadata certificates so the inventory reflects the partner’s current signing material.

Verify

Check Passing result

Staged

After stage, the key shows a populated staged slot and the IdP metadata carries both the active and the staged certificate.

Pre-trust

After the SP refreshes metadata, the live pinnedMatchesStaged check reports a match.

Activated

After activate, the previous certificate sits in the retiring slot and the active row reads matching (it reads drifted only while an SP lags behind the pin).

Audited

Every stage, activate, cancel-stage, and rotate is recorded as a saml-signing-key operator event on the audit trail.

Troubleshooting

Symptom Likely cause Operator action

A row reads expiring (under 30 days) or expired.

The certificate is at or past end of life.

Stage and activate a replacement using the guided rotation above.

Trust status stays drifted after activation.

The SP still pins the retiring certificate.

Refresh the SP’s IdP metadata (or re-pin the new certificate) so pinnedMatchesStaged clears.

A rotation verb returns 403.

The session is below AAL2 or lacks security.certificates.manage.

Step up to AAL2 and confirm the capability, then retry.

Immediate rotate is refused.

The rotate verb requires explicit confirmation.

Resend with body {"confirm":true}.