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

Announcements

No record found.

News and Announcements icon
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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans