function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
adreameradreamer 

Can I use self-signed SSL certificates for testing ?

Hi All,

 

I am dealing with an outbound call from salesforce to an external server that uses HTTPS/SSL.

I understand from the documenation that to be valid the certificate must be issued by a Certificate Authority trusted by Java 2 Platform,. 

 

CA certs cost money and I wonder if there a way to use a self-signed certtificate for testing purposes.

 

Thank you very much in advance.

Fernando

Best Answer chosen by Admin (Salesforce Developers) 
adreameradreamer

The answer is : no.

 

One must use "trusted" CA signed certificates with Salesforce.

 

For a list of the CA authorities accepted by Salesforce go to: http://wiki.developerforce.com/index.php/Outbound_Messaging_SSL_CA_Certificates

 

Regards,

Fernando

All Answers

adreameradreamer

The answer is : no.

 

One must use "trusted" CA signed certificates with Salesforce.

 

For a list of the CA authorities accepted by Salesforce go to: http://wiki.developerforce.com/index.php/Outbound_Messaging_SSL_CA_Certificates

 

Regards,

Fernando

This was selected as the best answer
Grant Wickman 9Grant Wickman 9
For a call-out you can use self-signed certificates, just import them into the target system. For a call-in Salesforce only supports CA signed certificates. For shame Salesforce making this simple matter so confusing with ambiguous documentation such as the below.

https://developer.salesforce.com/page/Making_Authenticated_Web_Service_Callouts_Using_Two-Way_SSL