Unable to send a 48681 bytes message to secure wcf service from java

前端 未结 5 2113
野性不改
野性不改 2021-02-09 16:07

I have to call a secure WCF service from java using mutual authentication. Everything works fine except I\'m unable to send messages which are greater than 48680 bytes in size.

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-09 16:44

    Finally, I resolved the issue. The problem was the following:

    1. cryptographic service provider of the given .net client supports tls renegotiation
    2. cryptographic provider of the java-client does not support tls renegotiation
    3. on the side of service there was no ClientCertNegotiation option set, so java client was not able to renegotiate.
    4. .net service was not responding to java-client that was waiting for the data, because this service expected a client-certificate, but the client was not able to provide it, as renegotiation is not supported.

提交回复
热议问题