• Armando jacobo
  • 0 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
  • 0

I am calling an external web service from Salesforce.
The error I'm getting is:
java.security.cert.CertificateException: No subject alternative names matching IP address x.x.x.x found

Is it possible to tell Salesforce that this is a trusted address and to Ignore the certificate error? Similar when indicating the same to a Web Browser.
We are testing with a development environment but the certificate is for the production domain. So we are working with a trusted specific address that is not covered by the certificate.

When I consume a web service in a site with SSL can I use the IP of the service instead of domain name?
I reference specifically the metod req.setEndpoint('https://x.x.x.x/digital/api/resource').