Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines flags that you can assign to an outgoing HTTP request to ignore certain certificate errors by calling the SetProperty method on the IXMLHTTPRequest3 interface.
Syntax
typedef enum _XHR_CERT_IGNORE_FLAG {
XHR_CERT_IGNORE_REVOCATION_FAILED = 0x80UL,
XHR_CERT_IGNORE_UNKNOWN_CA = 0x100UL,
XHR_CERT_IGNORE_CERT_CN_INVALID = 0x1000UL,
XHR_CERT_IGNORE_CERT_DATE_INVALID = 0x2000UL,
XHR_CERT_IGNORE_ALL_SERVER_ERRORS
} XHR_CERT_IGNORE_FLAG;
Constants
XHR_CERT_IGNORE_REVOCATION_FAILEDValue: 0x80UL Ignore certificate revocation errors. |
XHR_CERT_IGNORE_UNKNOWN_CAValue: 0x100UL Ignore a certificate error for an unknown or invalid certificate authority. |
XHR_CERT_IGNORE_CERT_CN_INVALIDValue: 0x1000UL Ignore a certificate error caused by an invalid common name. This allows an invalid common name in a certificate where the server name specified by the app for the requested URL does not match the common name in the server certificate. |
XHR_CERT_IGNORE_CERT_DATE_INVALIDValue: 0x2000UL Ignore a certificate error caused by an invalid date in the certificate. This allows certificates that are expired or not yet effective. |
XHR_CERT_IGNORE_ALL_SERVER_ERRORSIgnore all server certificate errors. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8.1 [desktop apps only] |
| Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
| Header | msxml6.h |