Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Could not create SSL/TLS secure channel.

Posted on by 5

Hello,

I try to connect an API from an post update plugin.

But I get this error.

The request was aborted: Could not create SSL/TLS secure channel.

I can connect to the API with Postman but I cannot connect it from the plugin.

I tried all methods (HttpWebRequest / Web Client / HttpClientHandler) but it didn't work.

I also tried TLS settings (ssl3, tls, tls11, tls2). in code like this.

            ServicePointManager.ServerCertificateValidationCallback = delegate (object s, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors) { return true; };
            ServicePointManager.Expect100Continue = true;
            ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

I tried the all solutions on the internet.

But It still not working.

Anyone have another idea?

Thanks.

  • Could not create SSL/TLS secure channel.
    Hi,
    I have similar problem. Any proposed solution please? Thanks !
  • Could not create SSL/TLS secure channel.
    Hi,
    Did you solve it cause I have same problem tell me please

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans