Jump to content
Sign in to follow this  

InetGet SSL failure, INGNORESSL not working ...

Recommended Posts


I am using the latest version of AutoIt and have written a script which downloads multiple files from a webserver with InetGet. The Webserver is using SSL certificates from a private CA (there is no way to change that), so I am using the IGNORESSL option of Inetget because I cannot pre-deploy the private CA certificates to all clients in this case.

This works only half way, the script ignores that the certificate itself is not valid, but it still does CRL checking which may fail (if accessed from some networks etc.). If I clear the option "Check for server certificate revocation" in IE advanced config it works just fine, but disabling this option on all our clients is ... well not an option.

I use this command to initiate the download (IGNORESSL and FORCERELOAD, background download):

$activeDownload = InetGet($source, @TempDir & "\" & $filename, 3, 1)

This does not download anything at all. Then I check with 

If (InetGetInfo($activeDownload, 4) <> 0) Then
    logit("DEBUG: " & InetGetInfo($activeDownload, 3))
    logit("DEBUG: " & InetGetInfo($activeDownload, 4))
    logit("DEBUG: " & InetGetInfo($activeDownload, 5))
    logit("DEBUG: " & _InetGetErrorText(InetGetInfo($activeDownload, 5)))

Which results in this output:

DEBUG: False
DEBUG: 12057
DEBUG: ERROR_INTERNET_SEC_CERT_REV_FAILED: Revocation of the SSL certificate failed.


I used the function from this topic to get the error mesage:

Am I doing something wrong, is this expected behaviour, or is there a bug with InetGet and IGNORESSL?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...