> For the complete documentation index, see [llms.txt](https://docs.slapfive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.slapfive.com/integrations/salesforce/slapfive-app-spring-2024-4.0-and-earlier-versions/generate-a-new-security-certificate.md).

# Generate a New Security Certificate

The security certificate that you download from the Identity Provider and sent to SlapFive when you first set up the Salesforce App typically expires every 12 months. If your certificate has expired, or doesn't match the one SlapFive has uploaded to our authentication server, you must generate a new certificate and send it to SlapFive so we can update your authentication configuration, then update the SlapFive Connected App to use the new certificate.

### Generate the new certificate

* [ ] Go to **Setup** > **Security** > **Certificate and Key Management**.
* [ ] Click the **Create a Self-Signed Certificate** button.
* [ ] Name it: *SelfSignedCert\_today’sDate\_SlapFive* where you substitute today’s date in any readable format for *today'sDate*, and click **Save**.
* [ ] Click to download it and email it to your SlapFive contact or drop it into the shared folder provided by your SlapFive contact.

### Update the SlapFive Connected App to use the new certificate

* [ ] Go to **Setup > Apps > Connected Apps > Manage Connected Apps**.
* [ ] In the list of Connected Apps, click the **Edit** link next to **SlapFive Connected App**.
* [ ] In the **Idp Certificate** field, click the drop-down and select the Self-Signed Certificate you just generated.
* [ ] Click **Save**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.slapfive.com/integrations/salesforce/slapfive-app-spring-2024-4.0-and-earlier-versions/generate-a-new-security-certificate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
