Table of Contents

SetUseServerCertificateValidation Procedure

Codeunit Web Wrapper

Sets if the server certificate should be validated when doing HTTPS calls.

If this is not set, the default behavior of the HttpClient is used, depending on the settings of the environment.

Signature

SetUseServerCertificateValidation(NewUseServerCertificateValidation: Boolean)

Parameters

NewUseServerCertificateValidation Boolean

Set to true to validate the server certificate, false to skip validation.

Remarks

The functionality of this function depends on the server settings and the version of Business Central. Read more about the HttpClient.UseServerCertificateValidation() function at Microsoft Learn

This documentation is generated from Smart Toolbox v27.1