dotnet / dotnet/wcf

Identity definition in ssl request

Open
#4,990 2 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

Hello!
When i use ChannelFactory to create proxy for request to wcf service on https://test.mydomain.com/test.svc with ssl (Security transport with certificate), i get error :
The expected identity of the remote endpoint in DNS (test.mydomain.com) does not match the DNS requirement specified by the remote endpoint (*.mydomain.com).
In certificate i see subject alternative name:
DNS *.mydomain.com
How can i create client with defined identity?
And why identity validation can not check host/dns/identity in certificate by asterik?
If i create certificate with SAN test.domain.com request complete succcess.
Should i override some IdentityValidator?

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.