• #17799
    Salesforce | Ajit Ajit #399
    Forcetalks

    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

     

    #17804
    Salesforce | Kumar Kumar #371
    Forcetalks

    Hi,

    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 1 year, 9 months ago by Salesforce | Kumar Kumar.
    • This reply was modified 1 year, 9 months ago by Salesforce | Kumar Kumar.
    #17855
     Bhavesh #394
    Forcetalks

    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.

CONTACT US

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

Sending

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 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?