English 中文(简体)
WCF客户/服务器检查证书
原标题:Do WCF clients/servers check certificate s

希望以下问题能够有所作为。

Assume browser A 希望与网站服务器建立SSL联系B,网址是:url www.xyz.com。 在与<代码>B建立联系时,A从另一端收到X.509证书<代码>C。 当A收到B号证书时,它检查了<代码>CN的外地证书,以便与服务器代码的东道名称相匹配,其域名载于<代码>CN领域(这一匹配由浏览器进行,而不是由SSL链接进行)。 如果B s 东道名称与域www.xyz.com相吻合,则A不接受该链接。

a) WCF客户从WCF服务处获得证书C时,是否也核对了C s CN>,将服务器的机主名称与CN具体规定的域名相匹配?

b) 反之亦然 当世界投资基金服务收到来自世界投资基金客户的证书C时,它是否还核对了C s CN的外地客户名称与CN具体规定的域名相符?

c) 如果对上述问题的回答是肯定的,那么我看不出我们如何使用与WCF的自签证书(SSC),因为从我所知的<代码>SSC s CN,外地价值与<代码>SSC s的所有人相对应。

感谢

问题回答

您认为,自签(名册)证书往往没有与东道国名相符的共同名称,尽管这无疑是可能的,但你可以使用该自签证书签发你所需要的共同名称,即东道国名称。

http://msdn.microsoft.com/en-us/library/ms733768.aspx” rel=“nofollow” http://msdn.microsoft.com/en-us/library/ms733768.aspx





相关问题
WCF DataMember Serializing questions

Ok, so I was part way through the long winded process of creating DTOs for sending my model over the wire and I don t feel like I m going down the right route. My issue is that most of the entities ...

Access WCF service on same server

I have a .NET website with a WCF service. How do I access the current operations context of my service? One possible work around is to just make a call to the service within the app...but that seems ...

WCF binding error

So I got into work early today and got the latest from source control. When I try to launch our ASP.NET application, I get this exception: "The binding at system.serviceModel/bindings/wsHttpBinding ...

The service operation requires a transaction to be flowed

I am facing strange issue with our WCF service. The same code was working fine until recently we added more OperationContracts(Web Methods). We have common 3 tier architecture. DAL (WCF) BLL Web ...