Visual FoxPro
Visual FoxPro
Require that the Web Server's SSL Certificate is Non-Expired and the Signature is Valid
Demonstrates setting the RequireSslCertVerify property to require that the web server's SSL/TLS certificate is non-expired and that the certificate's signature is valid.Chilkat Visual FoxPro Downloads
LOCAL lcUrl
LOCAL loHttp
LOCAL lcHtml
* This example assumes the Chilkat HTTP API to have been previously unlocked.
* See Global Unlock Sample for sample code.
lcUrl = "https://chilkatsoft.com"
loHttp = CreateObject('Chilkat.Http')
loHttp.RequireSslCertVerify = 1
lcHtml = loHttp.QuickGetStr(lcUrl)
IF (loHttp.LastMethodSuccess <> 1) THEN
? loHttp.LastErrorText
RELEASE loHttp
CANCEL
ENDIF
? "Success."
RELEASE loHttp