Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Secure Your Salesforce Org
Generate a Self-Signed Certificate

Generate a Self-Signed Certificate

Generate a certificate signed by Salesforce to show that communications purporting to come from your organization are really coming from there.

Required Editions

Available in: both Salesforce Classic and Lightning Experience
Available in: all editions
User Permissions Needed
To create, edit, and manage certificates: Manage Certificates
  1. From Setup, use the Quick Find box to find and select Certificate and Key Management.
  2. Select Create Self-Signed Certificate.
  3. Enter a descriptive label for the Salesforce certificate.
    This name is used primarily by administrators when viewing certificates.
  4. Enter a unique name. You can use the name that’s automatically populated based on the certificate label that you enter.
    This name can contain only underscores and alphanumeric characters, and it must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. Use the unique name when referring to the certificate using Lightning Platform APIs or Apex.
  5. Select a key size for your generated certificate and keys. Note that after you save a Salesforce certificate, you can’t change its type or key size.
    Certificates with 2048-bit and 3072-bit keys last one year and are faster than certificates with 4096-bit keys. Certificates with 4096-bit keys last two years and are recommended for Shield Platform Encryption.
    Note
    Note Self-signed certificates are not subject to the new CA/Browser Forum recommendations for signed certificates.
  6. Save your work.
    Downloaded self-signed certificates have .crt extensions.

    After you successfully save a Salesforce certificate, the certificate and corresponding keys are automatically generated.

You can have a maximum of 50 certificates.

Note
Note Some business processes require more certificates than others. If you require more than 50 certificates, contact Salesforce Customer Support.
 
Loading
Salesforce Help | Article