Примечание
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Version: Available or changed with runtime version 15.0.
If true, the client validates the server certificate for all HTTP requests. If false, it skips validation.
Syntax
CurrentUseServerCertificateValidation := HttpClient.UseServerCertificateValidation(UseServerCertificateValidation: Boolean)
Note
This method can be invoked using property access syntax.
Parameters
HttpClient
Type: HttpClient
An instance of the HttpClient data type.
UseServerCertificateValidation
Type: Boolean
Set to true
to validate the server certificate; when set to false
the validation is skipped. Default value is true
.
Return Value
CurrentUseServerCertificateValidation
Type: Boolean
Specifies whether the client validates the server certificate or not.
Remarks
This property is enabled by default. It's controlled by a feature key so that you can disable the validation for the whole tenant and roll back to the previous behavior, which is the way it worked in previous versions.
If you want to roll back to the previous behavior, we suggest you do the following:
- Update your AL code to uptake the new
UseServerCertificateValidation
. - Disable the validation with the new feature key for now, but be aware that it will be removed in version 27.0.
Note
The feature key will be removed in version 27.0. This means that you must uptake the new property in version 26.0. With the feature key, you have a 6 month transition window to make the code changes without causing customer downtime.
Related information
HttpClient data type
Getting started with AL
Developing extensions