PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
TrustedCertificateAdd (Function)
In french: CertificatDeConfianceAjoute
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).
Example
TrustedCertificateAdd("MyAC.pem")
Syntax
<Result> = TrustedCertificateAdd(<Certificate>)
<Result>: Boolean
  • True if the addition was performed,
  • False if an error occurred.
<Certificate>: Character string (with quotes)
Path of the certificate file to add to the list of trusted root authorities.
Remarks
Certificates in cer, pem, der and p12 formats are supported.
Business / UI classification : Business Logic
Component : wd250com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment