A company exposes a REST web service and wants to establish two-way SSL between Salesforce and the REST web service. A certificate signed by an appropriate certificate authority has been provided to the developer.
What modification is necessary on the Salesforce side? (Choose two.)
A. Create an entry for the certificate in Certificate and Key Management
B. Update the code to use HttpRequest.setClientCertificateName()
C. Configure two-factor authentication with the provided certificate
D. Update the code to use HttpRequest.setHeader() to set an Authorization header
Option A)
Set Up a Mutual Authentication Certificate:
Explanation/Reference:
: https://help.salesforce.com/articleView?err=1&id=security_keys_uploading_mutual_auth_cert.htm&type=5
Option B)
Using Certificates with HTTP Requests.setClientCertificateName(certDevName)
If the external service requires a client certificate for authentication, set the certificate name.
Explanation/Reference:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_http_httprequest.htm
+
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_callouts_client_certs_http.htm