Visual Basic 6.0
Visual Basic 6.0
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 Basic 6.0 Downloads
' This example assumes the Chilkat HTTP API to have been previously unlocked.
' See Global Unlock Sample for sample code.
Dim url As String
url = "https://chilkatsoft.com"
Dim http As New ChilkatHttp
http.RequireSslCertVerify = 1
Dim html As String
html = http.QuickGetStr(url)
If (http.LastMethodSuccess <> 1) Then
Debug.Print http.LastErrorText
Exit Sub
End If
Debug.Print "Success."