web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Plugin (On-Line) throwing an error while accessing a On-Premise Webservice : Could not establish secure channel for SSL/TLS with authority

(0) ShareShare
ReportReport
Posted on by 120

Hello All,

I have a plugin in an online CRM environment which accesses the On-Premise webservice. Webservice authenticates the incoming request via a certificate and then allows further operations.

Webservice have a fully qualified name and doesn't use ip address for accessing it. Basically the plugin reads the certificate from Azure Key Vault and then passes on the certificate to webservice for authentication.

In doing so, I am getting an error "Could not establish secure channel for SSL/TLS with authority" and at webservice hosted end the log says "SSL handshake failed for TCP"

I am able to do same operations using a console application.

Any help would be much appreciated !!! 

Regards,

Sachin

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    HI,

    Sanbox plugin does have some limitation - crmbusiness.wordpress.com/.../

    Please check sample code to call web service from plugin by microsoft

    github.com/.../WebAccessPlugin

    I would suggest you to check sample code and make any changes required in your plugin.

    Try switching from HttpClient to WebClient or vice versa.

    Please mark my answer verified if i were helpful

  • Michel Gueli Profile Picture
    982 on at

    Any update on this. How did you fixed this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 70 Super User 2025 Season 2

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 33 Most Valuable Professional

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans