Sample code for 30+ languages & platforms
AutoIt

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 AutoIt Downloads

AutoIt
; This example assumes the Chilkat HTTP API to have been previously unlocked.
; See Global Unlock Sample for sample code.

Local $sUrl = "https://chilkatsoft.com"

$oHttp = ObjCreate("Chilkat.Http")
$oHttp.RequireSslCertVerify = True

Local $sHtml = $oHttp.QuickGetStr($sUrl)
If ($oHttp.LastMethodSuccess <> True) Then
    ConsoleWrite($oHttp.LastErrorText & @CRLF)
    Exit
EndIf

ConsoleWrite("Success." & @CRLF)