dotnet / dotnet/wcf

Client call timeout Exception occurs which use SslCertificateAuthentication.CertificateValidationMode in NetCore WCF Client to talk to WCF server based on Https

Open
#5,119 3 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
1.8k
Forks
576
Avg merge
6d 9h
Merged PRs (30d)
2

Description

Our team is working on NetCore migration. We need to make NetCore WCF client to talk to NetFramework WCF Server based on Https successfully at this stage, while we meet RemoteCertificateNameMismatch case which similar in this ticket: https://github.com/dotnet/wcf/issues/4544.

So I use the method in this ticket in testing environment:
![image](https://user-images.githubusercontent.com/37793755/233832788-c506df1c-ab4e-4881-813c-3725a2e68b5d.png)

I also tries to use custom validator as below:
![image](https://user-images.githubusercontent.com/37793755/233832871-a038da6c-9a45-493f-bd91-74dd51687b4d.png)

But it will both cause the timeout for client call when the client tries to talk to server.

Any suggestion?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.