Lianja
Lianja
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 Lianja Downloads
// 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("CkHttp")
loHttp.RequireSslCertVerify = .T.
lcHtml = loHttp.QuickGetStr(lcUrl)
if (loHttp.LastMethodSuccess <> .T.) then
? loHttp.LastErrorText
release loHttp
return
endif
? "Success."
release loHttp