TrueUpdate 3.9

HTTP.IsValidCertificate

HTTP.IsValidCertificate

Previous topic Next topic  

HTTP.IsValidCertificate

Previous topic Next topic  

Overview Examples

boolean HTTP.IsValidCertificate (

string URL )

Description

Checks the SSL certificate on the web server defined by the URL, performing a series of tests to validate if the certificate can be trusted.

Parameter

URL

(string) The full URL or the domain of the web server to analyze.

Returns

(boolean) The action returns true if no issue could be detected for the SSL certificate of the web server, or false if at least one issue was found.

Possible reasons for a invalid certificate may be:

The certificate is self-signed (not issued by a certification authority)
At least one of the certificates in the chain is expired
The certificate was revoked by the issuer
The certificate does not match the domain

You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the action editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions


Learn More: Indigo Rose Software - TrueUpdate - Buy Now - Contact Us