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 :
Small and medium business | Business Central, N...
Suggested Answer

Error Could not create SSL/TLS secure channel on SaaS

(0) ShareShare
ReportReport
Posted on by 112

Hello,

I'm trying to call API services from AL on Business Cenrtral, when I deploy on OnPremise Docker container works correctely, but when I deploy to SaaS I get the error "Could not create SSL/TLS secure channel". The code is:

var
Client: HttpClient;
Request: HttpRequestMessage;
Content: HttpContent;
Response: HttpResponseMessage;
RequestHeaders: HttpHeaders;
ContentString: Text;
ResponseString: Text;

begin
Clear(Client);

Request.SetRequestUri('https:');
Request.Method := 'GET';

Request.GetHeaders(RequestHeaders);
RequestHeaders.Clear();
RequestHeaders.Add('Authorization', '');

Client.Send(Request, Response);

Response.Content.ReadAs(ResponseString);
Message(Format(Response.HttpStatusCode));
Message(ResponseString);
end;

The message error:

pastedimage1673512075312v1.png

Thanks

I have the same question (0)
  • Ayala Profile Picture
    112 on at

    Hello,

    IF external Endpoint use a SSL Certificate and has activated TSL 1.3 it works. But if TSL active is 1.2 or lower doesn't work.It only happens on SaaS environments, OnPremise doesn't happens.

    Thanks

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Please raise a ticket to Microsoft.

    Thank you.

  • Raymond Roesink Profile Picture
    24 on at

    Hi Ayala,

    Did you happen to find a solution?

    We're having the same issue.

    Kind Regards,

    Davy

  • Suggested answer
    Ayala Profile Picture
    112 on at

    Hello Davy,

    The problem is on the outside endpoint, it must use cipher suites supported from Business Central. Review this on next link

    learn.microsoft.com/.../devenv-supported-cipher-suites

    I hope this will help you

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans