---
schema_version: "1"
id: 6840e2190698c12b30a81374bf0a3d7fc9c20cc331ed961d63e18b19ebe8a0b5
title: Generating Certificates
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexcode/apex_callouts_client_certs_generate.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_client_certs_generate.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3bf537a69dc718d5f61d8550690c5e3330ba70726d33fd0ceeae4a7d1c7c4dce
---
# Generating Certificates

You can use a self-signed certificate generated in Salesforce or a certificate signed by a certificate authority (CA). To generate a certificate for a callout, see [Generate a Certificate](https://help.salesforce.com/apex/HTViewHelpDoc?id=security_keys_creating.htm&language=en_US).

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

After you create a CA-signed certificate, you must upload the signed certificate before you can use it. See “Generate a Certificate Signed by a Certificate Authority” in the Salesforce online help.

- [Next →](https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_client_certs_soap.htm "Using Certificates with SOAP Services")