Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 338
Product
XFile
Version
1.x 
Title
"Certificate authority is invalid or incorrect" when using XFile with SSL
Problem

XFile, like a browser (or other HTTP client), can make a request to a webserver using SSL. If the SSL certificate on the server is invalid, for example if it is expired), XFile will return the error "Certificate authority is invalid or incorrect"

XFile may return certificate-related errors more frequently than some other SSL clients, because XFile may be more sensitive to certificate problems than the browsers.

Solution

The IgnoreCertDateInvalid property of the XFRequest object is set to FALSE by default. If you wish XFile to be less sensitive to certificate problems, set this property to True.

Example:

// The variable XFile below refers to the XFRequest object
XFile.IgnoreCertDateInvalid = true;

If you are using XFile's visual control, you need to reference its XFRequest member.
//The variable XFile below refers to the AXFFile object
XFile.XFRequest.IgnoreCertDateInvalid = true;
Created : 5/12/2014 5:16:03 PM (last modified : 5/12/2014 5:16:02 PM)
Rate this article!
Comments