Adds a certificate to the list of trusted root authorities used to validate certification strings.
Caution: This addition is made for the current application. No additions are made in the Windows certificate stores.
Remark: This function has an impact on:
- HTTP requests that use httpRequest variables,
- File management by FTPS,
- SSL sockets,
- MQTT via SSL,
- the verification of signatures (2nd syntax of CertificateCheckString).
TrustedCertificateAdd("MyAC.pem")
Syntax
<Result> = TrustedCertificateAdd(<Certificate>)
<Result>: Boolean
- True if the addition was performed,
- False if an error occurred.
<Certificate>: Character string
Path of the certificate file to add to the list of trusted root authorities. Remark: This file can be included in the application's library (WDL file).
Remarks
Certificates in cer, pem, der and p12 formats are supported.
Business / UI classification: Business Logic