Applies to
HTTPClient, RestClient, TokenRequest, OAuthRequest
Description
When the CheckForServerCertRevocation property is enabled, the program checks if the server certificate is revoked when sending a request. Values are:
-
TRUE -- Checks if the server certificate is revoked
-
FALSE -- (Default) Does not check if the server certificate is revoked
Usage
In a painter
To check if the server certificate is revoked:
-
Select the CheckForServerCertRevocation check box on the General page of the object's Properties view.
In scripts
The CheckForServerCertRevocation property takes a boolean value.
Integer li_rtn HttpClient lnv_HttpClient lnv_HttpClient = Create HttpClient // Checks if the certificate is revoked (default is false) lnv_HttpClient.CheckForServerCertRevocation = true li_rtn = lnv_HttpClient.SendRequest('GET', "https://demo.appeon.com/")