Skip to content

Planning a Cert Rotation

Rotating a certificate in Salesforce is straightforward. Knowing what breaks when you do it is the hard part. This guide walks through the full rotation workflow using OrgGuard’s dependency mapping, ownership tracking, and discovery refresh to plan, execute, and verify a certificate rotation without surprises.


This workflow spans three screens:

  • Certificates tab (inventory view): expiry countdown, source class, and Dependencies count column
  • Certificate detail page: tabbed view with Certificate Info, Blast Radius (N), Ownership, Alert History, and Findings
  • Scan Management page: Trigger Scan button and scan status timeline

Confirm these prerequisites:

  • OrgGuard has run at least one discovery scan (check Scan Management for the last scan timestamp)
  • The certificate you plan to rotate appears in the Certificate Inventory with a non-zero dependency count
  • You have the OrgGuard Admin or OrgGuard User permission set assigned

Who can do this: OrgGuard Admin, OrgGuard User

Step 1: Identify the certificate to rotate

Section titled “Step 1: Identify the certificate to rotate”

Open the Certificates tab and locate the certificate. Use the Expiry Window filter to find certificates expiring soon, or sort by Days Remaining to surface the most urgent ones.

Note the certificate’s Name, Source (Outbound, Inbound mTLS, or Connected App JWT), and Days Remaining.

Click the certificate’s Dependencies count in the inventory (or open the detail page and click the Blast Radius tab). This shows every configuration that references the certificate and displays: “If this certificate expires, N integration(s) will fail.”

Record the following for each dependency:

FieldWhy it matters
TypeDetermines the rotation procedure (Named Credential vs. the Identity Provider vs. Connected App)
NameThe specific configuration to update after rotation
Record IDUse this to navigate directly to the configuration in Salesforce Setup

Click the Ownership tab on the certificate detail page. Note the Current Owner. If the certificate is unowned, assign an owner now using the Change Owner button so there is a clear point of contact during the rotation.

For each dependency, identify who manages that integration. This may be a different person or team than the certificate owner.

Before rotating, notify:

  • The certificate owner
  • The owner(s) of each dependent configuration
  • Any downstream teams that consume the integrations (e.g., if a Named Credential backs a customer-facing API, notify the team that owns that API)

Share the dependency list from Step 2 as the impact assessment.

Perform the rotation in Salesforce Setup:

  • Outbound certificates: Setup > Certificate and Key Management > Create or upload a new certificate, then update each dependent configuration to reference the new cert
  • Inbound mTLS certificates: Work with the external partner to exchange updated certificates, then update the Mutual TLS configuration
  • Connected App JWT certificates: Generate a new key pair, upload the new certificate to the Connected App, and distribute the new private key to the calling system

After updating all dependent configurations:

  1. Navigate to Scan Management.
  2. Click Trigger Scan to start an immediate discovery cycle.
  3. Wait for the scan to complete (check the scan status on the dashboard).

OrgGuard will re-discover the certificate landscape and update dependency records to reflect the new certificate references.

After the discovery refresh completes:

  1. Return to the Certificates tab and open the rotated certificate’s detail page.
  2. Check the Findings tab. If the rotation was successful:
    • “Expiring Soon” or “Expired” findings should auto-resolve (status changes to “Resolved”)
    • The new certificate should appear in the inventory with updated expiry dates
  3. Check the Blast Radius tab to confirm all dependencies now reference the new certificate.

Expected result: No open findings remain for the rotated certificate, and the new certificate shows the correct dependency map.

If findings persist after the scan, check:

  • Whether all dependent configurations were updated to reference the new certificate
  • Whether the new certificate’s expiry is far enough in the future to clear the policy threshold
  • The Diagnostic Logging page for scan errors

Use this checklist to track your rotation:

  • Identified the certificate and its expiry timeline
  • Reviewed all dependencies (count: ___)
  • Noted the current owner and dependency owners
  • Notified all stakeholders
  • Rotated the certificate in Salesforce Setup
  • Updated all dependent configurations
  • Triggered a discovery refresh in OrgGuard
  • Verified findings auto-resolved
  • Confirmed new certificate appears with correct dependency map

SymptomLikely causeFix
Findings did not auto-resolve after discovery refreshThe new certificate’s expiry is still within the policy alert thresholdVerify the new certificate has an expiry date beyond the configured alert window (default 90 days). Check the cert’s Certificate Info tab for the parsed expiry
The new certificate does not appear in the inventory after the scanOrgGuard may have discovered it under a different name, or the scan did not reach the cert classCheck the Coverage Summary for any skipped certificate classes. Search the inventory by the new cert’s subject CN
Dependent configurations still reference the old certificate after rotationSalesforce Setup was not fully updated before the scan ranRe-check each dependency from Step 2 in Salesforce Setup. Update any remaining references, then trigger another manual scan
Inbound mTLS: external partner still rejects connections after rotationThe external system still presents the old certificate, or its trust store has not been updatedConfirm the partner has installed the new certificate on their side. Trigger a manual scan once they confirm so OrgGuard updates the dependency records
Connected App JWT: new certificate uploaded but JWT bearer flow still failsThe calling system is still using the private key corresponding to the old certificateConfirm the calling system received and deployed the new private key generated in Step 5. JWT bearer requires both the certificate in Salesforce and the matching private key on the caller’s side

Q: Can I use this workflow for an emergency rotation (certificate already expired)? A: Yes. Start at Step 2 (Blast Radius tab) and work through the steps. The main difference is urgency: dependent integrations are already failing. Complete Steps 2 through 5 as fast as possible, then trigger the discovery refresh to confirm resolution.

Q: Do I need to notify stakeholders if the certificate has zero dependencies? A: It is still good practice, but the blast radius is zero (or undetected). If you are confident the cert is genuinely unused, you can proceed without a stakeholder notification. Document the decision in the finding’s acknowledgment.

Q: What if the dependency list changes between Step 2 and Step 5? A: If someone modifies a dependent configuration while you are mid-rotation, re-run the dependency check (trigger a manual scan or refresh the detail page) before completing Step 5. Stale dependency data is the most common cause of missed configuration updates.