How Do I Use the Jetty Client to Connect to the IIS Web Server of the two-way authentication

wulongmeishi 0 信誉分
2024-10-30T16:13:55.4433333+00:00

Our Jetty client is used to request the IIS web server. The ssl settings of the IIS web server is configured with require.

image

However, the client does not receive the Handshake Protocol: Certificate Request message during the handshake process,

image

Therefore, the client does not send the identity certificate to the IIS web server. As a result, the server authentication fails, and the server error code is 403.7.

When we run the curl command to request the IIS web server and specify the identity certificate,

Like this :

curl --cert server.cer --pass: keypass --key server_key.pem -H "Content-Type: application/json" -X GET "https://1.1.1.1:443/XXX"

the client still does not receive the Handshake Protocol: Certificate Request, but the IIS web server receives the identity certificate from the client. When we capture and analyze the data packets, we do not see the packets that the client sends the certificate.

image

We try to use Python to send a request with the certificate. The result is the same as that of the curl command line. The server does not request the certificate or the client sends the certificate, but the server obtains the certificate information of the client.

Windows Server
Windows Server
支持企业级管理、数据存储、应用程序和通信的 Microsoft 服务器操作系统系列。
220 个问题
0 个注释 无注释
{count} 票

你的答案

问题作者可以将答案标记为“接受的答案”,这有助于用户了解已解决作者问题的答案。