At least the problem was found. When I looked into the Windows event log, I saw this error
When requesting client authentication, this server sends a list of trusted certificate authorities for the client. The client uses this to select the client certificate that the server trusts. Currently, this server trusts so many certification authorities that the list has grown too long. Therefore, this list has been truncated. the administrator of this machine must check the certificate authorities trust the client authentication and delete those that do not need to be trusted.
I supported some certificates and deleted them. After this operation, my program works.
source share