Back to Resources

Article

Test a supplier's SAML certificate rollover before sign-ins fail

Use a worked acceptance test to check certificate overlap, metadata refresh, fresh sign-ins and rollback for a supplier application using SAML single sign-on.

Contrata editorial team ·

A supplier's application can be running normally while its users cannot sign in. If the identity provider signs a SAML response or assertion with a replacement key that the application does not trust, the authentication path can fail.

Before a signing-certificate rollover, ask the identity team and supplier to demonstrate a fresh sign-in with the replacement key. A certificate-expiry alert or a successful visit through an existing session is weaker evidence. The test needs to cover the configured trust path and the business role that uses it.

This guide is for an APRA-regulated firm's supplier application using SAML single sign-on. It concerns the identity provider's signing certificate. Website TLS certificates, client secrets, encrypted assertions and certificates used to sign requests have different roles; inventory them separately.

Establish who changes each side

Microsoft's Entra federation-certificate tutorial distinguishes applications that discover replacement certificates automatically, applications that can hold more than one certificate, and applications limited to one. That difference determines whether the owners can stage trust in advance or need a coordinated interruption.

Ask for the actual application's supported method and a named owner on each side. Does the supplier import a certificate manually, or retrieve federation metadata? Which tenant and application does that metadata describe? Who can change the configuration, and who is available during the change window?

Keep only public certificate details and necessary configuration references in the review record. Do not request private signing keys or live authentication tokens as evidence. Use approved handling for diagnostic logs that could contain personal or security-sensitive information.

A fictional rollover with one missing step

An insurer uses a supplier-hosted claims application. Its identity provider currently signs with key A. The identity team creates a certificate for key B, valid before A expires, and schedules activation for 10:00. The supplier says it refreshes metadata automatically.

At 09:30, a claims handler opens the application through an existing session. The page loads. That observation does not show that the supplier has imported B. At 10:00, the identity provider starts signing with B, but the supplier's trust store still contains only A. A new sign-in fails.

The missing acceptance evidence was the supplier's acquisition of B and a fresh authentication path using it. These times and results are fictional; they are not a report about Microsoft, Contrata or an actual insurer.

Fictional SAML rollover: the identity provider changes from A to B; the supplier must acquire B and a fresh sign-in must test that path. Existing sessions do not prove the new key is trusted.FICTIONAL SUPPLIER · PROPOSED ACCEPTANCE TESTNew signing key.New trust check.Identity providerSigning: A → BSwitch signingTrust B?Supplier appTrust store needs BVerify import or refreshTest a fresh sign-inAn existing session cannot prove it.Illustration; no real configuration or passed result.
Fictional SAML rollover: the identity provider changes from A to B; the supplier must acquire B and a fresh sign-in must test that path. Existing sessions do not prove the new key is trusted.FICTIONAL SUPPLIER · PROPOSED ACCEPTANCE TESTNew signing key.New trust check.Identity providerSigning: A → BSwitch signingSupplier appTrust store needs BVerify import or refreshTest a fresh sign-inAn existing session cannot prove it.Illustration; no real configuration or passed result.
A proposed acceptance test, not a completed supplier rollover.

Turn the supplier's answer into an acceptance record

Use a non-production environment that represents the relevant settings where possible. Production changes need the organisation's approved change process and the supplier's application-specific instructions. A pre-production success leaves any configuration differences to be checked explicitly.

Test conditionEvidence to retainWhat would stop acceptance?
Identify A and BApplication and tenant reference, public certificate fingerprints, validity dates and accountable ownersThe owners cannot show which certificate the application currently trusts.
Stage B through the supported methodDated import or metadata-refresh evidence showing B reached the supplier configurationAn assertion that refresh is automatic, without evidence from this application.
Check the overlap or interruptionSupported multi-certificate behaviour, or an agreed single-certificate change windowAn assumed overlap that the supplier cannot support.
Activate B and sign in afreshA new test authentication with the intended account and role, linked to evidence that B was usedOnly an existing session was tested, or the new sign-in fails.
Complete a representative permitted taskThe test role reaches the required function and retains the expected access limitsAuthentication works but the service role or task is wrong.
Exercise supported recoveryRehearsed recovery steps, an accessible admin route and a decision ownerRecovery depends on the very SSO path that failed.
Retire A at the agreed pointSuccessful post-change checks and a dated removal recordOld trust is removed before the new path is evidenced, or remains indefinitely without review.

For metadata-based discovery, measure the application's actual refresh behaviour. Ask what happens if the endpoint is temporarily unreachable and how the supplier detects a stale trust store. A configurable interval is not proof that the most recent refresh succeeded.

For an application that accepts one certificate, agree the ordering with both technical owners rather than copying a generic overlap sequence. Define the expected interruption, communications route and stop condition. Microsoft specifically recognises that this case may require a downtime interval; a supplier's marketing claim of seamless SSO does not settle the implementation.

Write the decision around the fresh session

For the fictional insurer, the review record should connect three observations: B is present in the supplier's configured trust, a fresh authentication used B, and the claims handler completed the permitted test task. Record the environment and the role as well as the time. A successful sign-in with an administrator role would leave the claims-handler route untested.

A useful supplier request is: “For this application and tenant, provide the public fingerprint of B, the import or refresh result, and a reference to a fresh permitted test using B. State whether A remains trusted and who will authorise its removal.” Collect references rather than copying full SAML assertions into a general risk register.

Download the SAML rollover worksheet (CSV). Its fictional sample keeps the existing-session check separate from the untested fresh sign-in and retirement decision.

Make recovery possible without weakening authentication

Document the supported recovery path before activation. A return to A is an option only if A remains valid, trusted and safe to use, and the platform supports that action. If A is suspected compromised, restoring its trust can reintroduce the problem; the security owner must decide the replacement path.

Test access to an approved emergency administration route under the organisation's controls. Do not make disabling signature verification, bypassing MFA or sharing an administrator account the routine fallback. Record who can authorise recovery and how they will reach the supplier if normal access is unavailable. The incident contact-route test helps check that communications dependency.

Close the change on evidence from the new path

Assign expiry notifications to a monitored team route and a backup owner. Keep the next renewal date with the service record, alongside the last demonstrated rollover method. This is a practical control design, not a prescribed APRA certificate interval.

Retain the fresh sign-in result, representative task result, unresolved differences and retirement decision together. Use the supplier remediation closure guide if a failed rehearsal leaves corrective work open. The service owner can then distinguish a certificate that exists from a trust change that has actually been tested.

Contact Us

We'll reach out to schedule a live demo of Contrata.

Contrata uses these details to respond to your request and sends them through its form-delivery service. Read the website privacy policy for how we handle your information.