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:
Thanks
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
Hi Ayala,
Did you happen to find a solution?
We're having the same issue.
Kind Regards,
Davy
Hello,
Please raise a ticket to Microsoft.
Thank you.
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,963 Most Valuable Professional
nmaenpaa 101,156