Salesforce Dictionary - Free Salesforce GlossarySalesforce Dictionary
Full Certificate and Key Management entry
How-to guide

How to set up Certificate and Key Management in Salesforce

Certificate and Key Management is the Setup page for managing certificates used in SAML SSO, mutual TLS authentication, JWT signing, and other crypto-heavy integrations. Generate self-signed certs, upload CA-signed certs, view expiration dates. Renew before expiration to avoid breakage.

By Dipojjal Chakrabarti · Editor, Salesforce DictionaryLast updated Apr 20, 2026

Certificate and Key Management is the Setup page for managing certificates used in SAML SSO, mutual TLS authentication, JWT signing, and other crypto-heavy integrations. Generate self-signed certs, upload CA-signed certs, view expiration dates. Renew before expiration to avoid breakage.

  1. Open Setup → Certificate and Key Management

    Setup gear → Quick Find: Certificate → Certificate and Key Management.

  2. Review the list of certificates

    Each row: Label, Unique Name, Type (Self-Signed / CA-Signed), Expiration Date, Active.

  3. Click Create Self-Signed Certificate (for internal use)

    Wizard sets Label, Unique Name, Key Size (2048 / 4096), Expiration. Self-signed is fine for SAML SSO between trusted systems.

  4. For CA-signed: Upload Certificate

    Generate a CSR via Salesforce → submit to your CA → upload the signed certificate file.

  5. Set as Active for the relevant integration

    Certificate is now usable. Reference from Auth. Providers, Single Sign-On Settings, Named Credentials, etc.

  6. Monitor expiration

    Salesforce sends emails ~60 days before expiration. Renew before the date — expired certs break every integration referencing them.

Key options
Self-Signed Certificateremember

Generate in Setup. No external CA. Fine for internal trust relationships.

CA-Signed Certificateremember

Generate CSR → submit to CA → upload signed cert. Required for some external integrations.

Key Sizeremember

2048-bit (default, recommended) / 4096-bit (stronger, slower). Most TLS connections accept either.

Expiration Dateremember

1 year default. Some CAs allow up to 3 years.

Gotchas
  • Expired certificates break every integration referencing them — SAML SSO logins, mutual-TLS API calls, JWT tokens. Set calendar reminders 60+ days before expiration.
  • Self-signed certificates are not trusted by default by external systems. For mutual-TLS to a third-party API, you usually need CA-signed certs.
  • Renewing a certificate requires updating every external system that has the public key. Schedule renewal as a coordinated change.

See the full Certificate and Key Management entry

Certificate and Key Management includes the definition, worked example, deep dive, related terms, and a quiz.