当服务器请求客户端身份验证时,由 WinHttpReceiveResponse 返回。 Windows Server 2003 SP1 和 Windows XP SP2:不支持此错误。
服务器需要 SSL 客户端身份验证。应用程序通过使用 WINHTTP_OPTION_CLIENT_CERT_ISSUER_LIST 选项调用 WinHttpQueryOption 来检索证书颁发者列表。有关详细信息,请参阅 WINHTTP_OPTION_CLIENT_CERT_ISSUER_LIST 选项。如果服务器请求客户端证书,但不需要它,则应用程序可以交替使用 WINHTTP_OPTION_CLIENT_CERT_CONTEXT 选项调用 WinHttpSetOption。在这种情况下,应用程序在 WinHttpSetOption 的 *lpBuffer* 参数中指定 WINHTTP_NO_CLIENT_CERT_CONTEXT 宏。有关详细信息,请参阅 WINHTTP_OPTION_CLIENT_CERT_CONTEXT 选项。 Windows Server 2003 SP1 和 Windows XP SP2:不支持此错误。
Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。
官方说明 · 原文
Returned by WinHttpReceiveResponse when the server requests client authentication. Windows Server 2003 with SP1 and Windows XP with SP2: This error is not supported.
The server requires SSL client Authentication. The application retrieves the list of certificate issuers by calling WinHttpQueryOption with the WINHTTP_OPTION_CLIENT_CERT_ISSUER_LIST option. For more information, see the WINHTTP_OPTION_CLIENT_CERT_ISSUER_LIST option. If the server requests the client certificate, but does not require it, the application can alternately call WinHttpSetOption with the WINHTTP_OPTION_CLIENT_CERT_CONTEXT option. In this case, the application specifies the WINHTTP_NO_CLIENT_CERT_CONTEXT macro in the *lpBuffer* parameter of WinHttpSetOption. For more information, see the WINHTTP_OPTION_CLIENT_CERT_CONTEXT option. Windows Server 2003 with SP1 and Windows XP with SP2: This error is not supported.
修改记录:Extracted numeric codes, symbolic names and English message text; converted Markdown/HTML to plain text and normalized whitespace; added Korean product context, namespace labels, status classification and separately labeled official links. No machine translation of message text. 译文说明已标注为自动翻译。