• #17799
    Salesforce | Ajit Ajit #450

    Error while making callout in salesforce

    System.CalloutException: java.security.cert.CertificateException: No subject alternative DNS name matching

    Has anybody got this issue while making a Callout


    Salesforce | Kumar Kumar #361


    It means that the website you are calling with HTTPS has a domain name that is different from what you’re using.  So if you think you’re calling “https://api.myservice.com”, and the website’s certificate is only for “www.myservice.com”, you get this error.  If you connect to the service using a browser, see if it has a security exception, and if not, if the domain name redirected, then check the domain name of the service you’re calling to make sure it’s the right one (see https://en.wikipedia.org/wiki/Subject_Alternative_Name).

    Unfortunatelly this error also occurs when multiple certificates are hosted on the same IP address. It seems that salesforce is missing SNI support (see http://en.wikipedia.org/wiki/Server_Name_Indication).

    Hope this helps.


    • This reply was modified 2 years ago by Salesforce | Kumar Kumar.
    • This reply was modified 2 years ago by Salesforce | Kumar Kumar.
     Bhavesh #435

    It is the issue of certification. that website have security certification. you have to submit that in salesforce options.

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?