PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
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.
Note: 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.
Component : wd240com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment